Re: New version of Declarative Pipelines (pipeline-model-definition-plugin) released

2016-11-04 Thread Andrew Bayer
Wiki page restored, and I already did the incompatible version thingie. =)

A.

On Thu, Nov 3, 2016 at 1:15 PM, James Dumay  wrote:

> Thanks Andrew for all your work to improve the ease-of-use for Pipeline!
>
>
> On Thursday, November 3, 2016 at 4:29:02 AM UTC+11, Andrew Bayer wrote:
>>
>> 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/jenkins
>> ci/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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/b2eca452-5379-4153-9923-1eb08fcf1dc6%40googlegroups.
> com
> 
> .
>
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPbPdOY_wWZoJxExrwfFSAXmyuppXBOGJ-C5ZX-oacKw2bL6oA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New version of Declarative Pipelines (pipeline-model-definition-plugin) released

2016-11-03 Thread James Dumay
Thanks Andrew for all your work to improve the ease-of-use for Pipeline!

On Thursday, November 3, 2016 at 4:29:02 AM UTC+11, Andrew Bayer wrote:
>
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b2eca452-5379-4153-9923-1eb08fcf1dc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New version of Declarative Pipelines (pipeline-model-definition-plugin) released

2016-11-03 Thread Daniel Beck

> On 02.11.2016, at 18:28, Andrew Bayer  wrote:
> 
> 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.,

- The linked wiki page doesn't exist?
- Could you do 
https://wiki.jenkins-ci.org/display/JENKINS/Marking+a+new+plugin+version+as+incompatible+with+older+versions
 

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/C820CA36-D8BB-48F4-B717-7DA05910D144%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


New version of Declarative Pipelines (pipeline-model-definition-plugin) released

2016-11-02 Thread Andrew Bayer
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 jenkinsci-users+unsubscr...@googlegroups.com.
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.