Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pipeline {
- stage("Do multiple things in parallel and then commit them") {
- agent { label "master" }
- stages {
- stage("Checkout") {
- docheckout()
- }
- parallel {
- stage("1") {
- sh "do stuff 1"
- }
- stage("2") {
- sh "do stuff 2"
- }
- }
- stage("Commit") {
- sh "git commit && git push origin"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement