Guest User

Untitled

a guest
Oct 18th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. pipeline {
  2. agent any
  3. stages {
  4.  
  5. stage('T1 Triggers Bug') {
  6.  
  7. parallel {
  8. // Removing T1-S1 completely does not trigger bug
  9. stage('T1-S1') {
  10. stages {
  11. // Removing T1-S1-Stage1 or T1-S1-Stage2 does not trigger bug
  12. stage('T1-S1-Stage1') {
  13. steps {
  14. script {
  15. println "Did whats-her-name get at ya?"
  16. }
  17. }
  18. }
  19. stage('T1-S1-Stage2') {
  20. steps {
  21. script {
  22. println "Deeeeeeznuuuuts"
  23. }
  24. }
  25. }
  26. }
  27. }
  28.  
  29. stage('T1-S2') {
  30. stages {
  31. // !!!!
  32. // Comment out T1-S2-Stage1 or T1-S2-Stage2 to trigger JENKINS-53900
  33. // !!!!
  34.  
  35. stage('T1-S2-Stage1') {
  36. steps {
  37. script {
  38. println "Myello"
  39. }
  40. }
  41. }
  42.  
  43. // stage('T1-S2-Stage2') {
  44. // steps {
  45. // script {
  46. // println "There's the earth-shattering kaboom"
  47. // }
  48. // }
  49. // }
  50. }
  51. }
  52.  
  53. // Uncommenting T1-S3 will also hide bug
  54.  
  55. // stage('T1-S3 (Not nested)') {
  56. // steps {
  57. // script {
  58. // println "This'll fix it"
  59. // }
  60. // }
  61. // }
  62. }
  63. }
  64.  
  65. // This next stage doesn't trigger the bug but it might be displaying wrong.
  66.  
  67. // stage('T2 Pointless Wrapper') {
  68. // stages {
  69. // stage('T2 Nested single Stage') {
  70. // steps {
  71. // script {
  72. // println 'Rubber baby buggy bumpers'
  73. // }
  74. // }
  75. // }
  76. // }
  77. // }
  78.  
  79. stage('T3 You Should See This!') {
  80. steps {
  81. script {
  82. println "You should see this node!"
  83. }
  84. }
  85. }
  86. }
  87. }
Add Comment
Please, Sign In to add comment