Skip to content

Commit

Permalink
JENKINS-33027 Running build details are not shown properly until anot…
Browse files Browse the repository at this point in the history
…her build is started or jenkins is restarted.
  • Loading branch information
menonvarun committed Mar 15, 2016
1 parent 409d78c commit 2156558
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -148,6 +148,9 @@ public void getJsonLoadData() {
Iterator<Run> runIterator = runs.iterator();
while (runIterator.hasNext()) {
Run run = runIterator.next();
if(run.isBuilding()) {
continue;
}
int buildNumber = run.getNumber();
String buildUrl = project.getBuildByNumber(buildNumber).getUrl();
builds.add(run.getNumber());
Expand Down

0 comments on commit 2156558

Please sign in to comment.