Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pipeline {
agent any
stages {
stage('T1 Triggers Bug') {
parallel {
// Removing T1-S1 completely does not trigger bug
stage('T1-S1') {
stages {
// Removing T1-S1-Stage1 or T1-S1-Stage2 does not trigger bug
stage('T1-S1-Stage1') {
steps {
script {
println "Did whats-her-name get at ya?"
}
}
}
stage('T1-S1-Stage2') {
steps {
script {
println "Deeeeeeznuuuuts"
}
}
}
}
}
stage('T1-S2') {
stages {
// !!!!
// Comment out T1-S2-Stage1 or T1-S2-Stage2 to trigger JENKINS-53900
// !!!!
stage('T1-S2-Stage1') {
steps {
script {
println "Myello"
}
}
}
// stage('T1-S2-Stage2') {
// steps {
// script {
// println "There's the earth-shattering kaboom"
// }
// }
// }
}
}
// Uncommenting T1-S3 will also hide bug
// stage('T1-S3 (Not nested)') {
// steps {
// script {
// println "This'll fix it"
// }
// }
// }
}
}
// This next stage doesn't trigger the bug but it might be displaying wrong.
// stage('T2 Pointless Wrapper') {
// stages {
// stage('T2 Nested single Stage') {
// steps {
// script {
// println 'Rubber baby buggy bumpers'
// }
// }
// }
// }
// }
stage('T3 You Should See This!') {
steps {
script {
println "You should see this node!"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.