-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-58085] Fix issue where stages are shown as waiting to start …
…when they are running/completed (#2017) * [JENKINS-58085] Fix issue where stage progress is not correctly shown in the UI * [JENKINS-58085] Add minimal regression test
- Loading branch information
Showing
3 changed files
with
89 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...es/io/jenkins/blueocean/rest/impl/pipeline/unionDifferentNodeIdsSameStructure.jenkinsfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
stage('first') { | ||
// Changes the number of nodes in this stage on every build, so any code that | ||
// relies on matching Node IDs across builds will break. | ||
for (int i = 0; i < currentBuild.number; i++) { | ||
echo "${i}" | ||
} | ||
} | ||
stage('second') { | ||
semaphore 'second' | ||
} | ||
stage('third') { | ||
semaphore 'third' | ||
} |