FYI - I've released version 0.5 of Declarative Pipelines today, and it does
have a significant syntax change that breaks compatibility with earlier
versions. See
https://github.com/jenkinsci/pipeline-model-definition-plugin/wiki/Version-History-and-Changes#version-05
for more info, but the gist is that steps in a stage block now need to be
in an explicit steps block themselves - i.e.,
stage('foo') {
sh 'do-stuff.sh'
}
needs to change to
stage('foo') {
steps {
sh 'do-stuff.sh'
}
}
This is to be able to support per-stage configuration of things like agent,
environment, tools, and post-stage actions.
A.
--
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/CAPbPdOb1-750DRcRQ6LpmJUR%2BAWs1hyKtnsBcBg0L7LVgZeCKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.