-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the parallel job example for Pipeline Model Definition Plugin …
…v1.2 parallel stages and added test support for that. Main Jenkinsfile now creates JUnit report.
- Loading branch information
Showing
8 changed files
with
72 additions
and
5 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
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
29 changes: 29 additions & 0 deletions
29
...ests/callstacks/ParallelJobTestSpec_Parallel_Jenkinsfile_should_complete_with_success.txt
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,29 @@ | ||
Jenkinsfile.run() | ||
Jenkinsfile.pipeline(groovy.lang.Closure) | ||
Jenkinsfile.agent(groovy.lang.Closure) | ||
Jenkinsfile.stages(groovy.lang.Closure) | ||
Jenkinsfile.stage(Setup, groovy.lang.Closure) | ||
Jenkinsfile.steps(groovy.lang.Closure) | ||
Jenkinsfile.script(groovy.lang.Closure) | ||
Jenkinsfile.stage(Dynamic, groovy.lang.Closure) | ||
Jenkinsfile.steps(groovy.lang.Closure) | ||
Jenkinsfile.script(groovy.lang.Closure) | ||
Jenkinsfile.parallel({foo=groovy.lang.Closure, bar=groovy.lang.Closure}) | ||
Jenkinsfile.echo(Running foo branch..) | ||
Jenkinsfile.echo(Running bar branch...) | ||
Jenkinsfile.stage(Static Old Way, groovy.lang.Closure) | ||
Jenkinsfile.steps(groovy.lang.Closure) | ||
Jenkinsfile.parallel({branch_1=groovy.lang.Closure, branch_2=groovy.lang.Closure}) | ||
Jenkinsfile.echo(Running static branch 1) | ||
Jenkinsfile.echo(Running static branch 2) | ||
Jenkinsfile.stage(Static New Way, groovy.lang.Closure) | ||
Jenkinsfile.parallel(groovy.lang.Closure) | ||
Jenkinsfile.stage(Stage 1, groovy.lang.Closure) | ||
Jenkinsfile.steps(groovy.lang.Closure) | ||
Jenkinsfile.echo(Running pipeline v1.2 static stage 1) | ||
Jenkinsfile.stage(Stage 2, groovy.lang.Closure) | ||
Jenkinsfile.steps(groovy.lang.Closure) | ||
Jenkinsfile.echo(Running pipeline v1.2 static stage 2) | ||
Jenkinsfile.stage(Stage Skipped, groovy.lang.Closure) | ||
Jenkinsfile.when(groovy.lang.Closure) | ||
Jenkinsfile.expression(groovy.lang.Closure) |
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