1. 31 5月, 2012 1 次提交
  2. 30 5月, 2012 6 次提交
  3. 29 5月, 2012 1 次提交
  4. 25 5月, 2012 2 次提交
  5. 24 5月, 2012 2 次提交
    • K
      Fixed a bug in Jenkins.overallNodeProvisioner · be1f8f91
      Kohsuke Kawaguchi 提交于
      Until now, Jenkins.overallNodeProvisioner was tracking an inconsistent
      pair of numbers. On one hand, it was tracking all the executors in the
      system, but then it was also only tracking the # of free-roaming
      label-unassigned jobs as the queue length.
      
      So if all your slaves are set with Node.Mode.EXCLUSIVE and you have some
      free-roaming jobs, then it'll never tickle NodePrivisioner.
      
      In other words, the # of executors weren't reflecting the actual # of
      executors that can execute what's counted as the queue length.
      
      See the problem report at
      https://groups.google.com/forum/?fromgroups#!topic/jenkinsci-dev/bUwGEgOwv4Q
      
      To fix this, I introduced another LoadStatistics that only counts
      the # of executors that can execute free-roaming jobs, and # of
      free-roaming jobs as the queue length. In this way, two pairs of numbers
      are consistent.
      
      This now allows us to use overallLoadStatistics for really the entire
      system, including all executors and the total queue length. This is
      primarily for administrators to see the resource utilization, and it is
      not useful for NodeProvisioner input because it's mixing too many
      different things.
      
      The semantics change in OverallLoadStatistics.queueLength allows us to
      deprecate its totalQueueLength field.
      be1f8f91
    • K
  6. 23 5月, 2012 8 次提交
  7. 22 5月, 2012 5 次提交
  8. 16 5月, 2012 2 次提交
  9. 15 5月, 2012 1 次提交
  10. 09 5月, 2012 1 次提交
    • D
      [FIXED JENKINS-13202] Don't set mtime or mode on symlinks · e15b2e19
      David Reiss 提交于
      Previously, the untar code tries to set the last modified time and mode
      on every untarred file.  However, if the tar contains a broken symlink,
      or a symlink that points to a file that has not been untarred yet, the
      time/mode setting would fail on the broken symlink.
      
      Symlinks don't have meaningful modified times or modes of their own, so
      only set these values on non-symlinks.
      
      Rename the file "a" in the test to expose the bug.
      e15b2e19
  11. 08 5月, 2012 2 次提交
  12. 06 5月, 2012 2 次提交
  13. 05 5月, 2012 1 次提交
  14. 04 5月, 2012 2 次提交
    • K
      c37adad3
    • K
      [FIXED JENKINS-12585] restrict where sessions are created. · 7a4858d6
      Kohsuke Kawaguchi 提交于
      If a resource with 'Set-Cookie' header is cached (either by intermediary
      like HTTP proxy and reverse proxy, or by the browser), it'll cause
      identity swap / session mix-up as discussed in this ticket.
      
      I suspect this was caused by HttpSessionContextIntegrationFilter2, which
      is the only code path that attempts to create a session when a request
      to a static resource is made.
      
      So I'm disabling the creation of session in
      HttpSessionContextIntegrationFilter2. This in turn requires that we
      have sessions already created when the authentication was successful and
      people need to login (or else the login will have no effect.)
      
      We already do so in layout.jelly, so any request that renders a Jenkins
      page would have a session, but I've also added it in
      AuthenticationProcessingFilter2, which ensures that a successful login
      does have a session.
      7a4858d6
  15. 03 5月, 2012 1 次提交
  16. 01 5月, 2012 3 次提交