-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for nesting stages including parallel
- Loading branch information
1 parent
dff6f47
commit e17dfea
Showing
2 changed files
with
23 additions
and
0 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
17 changes: 17 additions & 0 deletions
17
src/test/jenkins/jenkinsfiles/Parallel_NestedStages_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,17 @@ | ||
pipeline { | ||
stages { | ||
stage('Parallel Stage') { | ||
parallel { | ||
stage('Branch A') { | ||
stages { | ||
stage('Nested 1') { | ||
steps { | ||
echo "In stage Nested 1 within Branch A" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |