Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 0268b988d5c88cd29be12ed25e95d5bc448c2840
      
https://github.com/jenkinsci/jenkins/commit/0268b988d5c88cd29be12ed25e95d5bc448c2840
  Author: Matthew Reiter <matthewrei...@hotmail.com>
  Date:   2016-09-17 (Sat, 17 Sep 2016)

  Changed paths:
    M core/src/main/java/hudson/widgets/BuildHistoryWidget.java
    M core/src/main/java/hudson/widgets/HistoryWidget.java
    M core/src/main/resources/hudson/widgets/HistoryWidget/index.jelly

  Log Message:
  -----------
  [FIXED JENKINS-31487] (#2542)

There were two issues preventing the build history from updating properly:
1) The next build number being fetched wasn't taking into account running 
builds, so any builds already running when the page is refreshed would be 
ignored. The fix was to use nextBuildNumberToFetch if it is available (which is 
the case if there are running builds) and to fall back to the next build 
otherwise.
2) The first transient build key (used to clear out builds from the history 
that are being updated) wasn't being set when the page first loads. This was 
fixed by making getHistoryPageFilter calculate the value so that it happens in 
all cases rather than just during the ajax call.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to