-
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.
Backport of PR 2187 in branch 1.24.x (#2188)
* [JENKINS-60995] Fix downstream build link Downstream of jenkinsci/pipeline-build-step-plugin#54 * Update to use pipeline-build-step 2.14-rc430.69345dedbb03 * fix ATH test * use pipeline-build-step 1.24 * fix some upperBound Signed-off-by: Olivier Lamy <[email protected]> Co-authored-by: Vincent Latombe <[email protected]> Co-authored-by: Liam Newman <[email protected]>
- Loading branch information
1 parent
7a7070d
commit 42acd6f
Showing
8 changed files
with
136 additions
and
38 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
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
3 changes: 3 additions & 0 deletions
3
...h/offline/pipeline/DownstreamLinkTest/downstreamJobLinkAppearsInRunResult.upstream.groovy
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,3 @@ | ||
stage ('stageName') { | ||
build 'downstreamJob' | ||
} |
30 changes: 30 additions & 0 deletions
30
...ces/io/blueocean/ath/offline/pipeline/DownstreamLinkTest/sequentialStages.upstream.groovy
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,30 @@ | ||
pipeline{ | ||
agent any | ||
stages { | ||
stage ('Sequential') { | ||
stages { | ||
stage("Sequential 1 with child in it"){ | ||
steps{ | ||
build "TestJob" | ||
} | ||
} | ||
stage("Sequential 2 with child in it"){ | ||
steps{ | ||
build "TestJob" | ||
} | ||
} | ||
stage("Sequential 3 with child in it using Script"){ | ||
steps{ | ||
build "TestJob" | ||
sh "exit 1" | ||
} | ||
} | ||
stage('Sequential 4 w/o childs'){ | ||
steps{ | ||
echo "E-mail" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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