See https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Stage+Step+Plugin
Vincent 2017-01-27 14:32 GMT+01:00 Mark Allison <[email protected]>: > I am building some pipeline projects and want to use the new stage blocks > feature as the old way is now deprecated. > > e.g. > > stage ('build') { > // my block of code to do the build > } > > > Trouble is our current Jenkins version (2.7) doesn't support stage blocks, > does anyone know what version they were introduced? I'm being told by our > DevOps admin that the earliest we can upgrade to is version 2.19. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/89f6c9b0-d7cc-48d7-bb05-9277ed25bb16%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/89f6c9b0-d7cc-48d7-bb05-9277ed25bb16%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAH-zGCjOxaxm1WR6b-HdTvtpM0Z5bgFk2APi3SoeqXAifFV4QA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
