I think this will be a way to support those two features. Is "when" also 
possible in scripted pipelines?

Am Donnerstag, 12. April 2018 11:13:28 UTC+2 schrieb Robert Sandell:
>
> Yes declarative has both of these in a way via the when directive's branch 
> and changeset conditions. If I've interpreted forBranch and forChangesIn 
> correctly :)
>
> https://jenkins.io/doc/book/pipeline/syntax/#when
>
> /B
>
>
> 2018-04-11 23:39 GMT+02:00 Jesse Glick <jgl...@cloudbees.com <javascript:>
> >:
>
>> Declarative Pipeline certainly can easily do the same as `forBranch`,
>> and from Scripted you can trivially write the same thing, so I think
>> no new step is warranted.
>>
>> Not quite sure I follow what `forChangesIn` is about, but sounds like
>> a candidate for a new plugin.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0jXNj9-XCTWXERUQz%2B7Vx9sVrPor%2BraJU-GSHvaoMsWw%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> *Robert Sandell*
> Software Engineer
> CloudBees, Inc.
> [image: CloudBees-Logo.png] <http://www.cloudbees.com/>
> E: rsan...@cloudbees.com <javascript:>
> Twitter: robert_sandell
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/395f2158-3934-43c4-885e-ee834e4950c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to