As far as I know the promoted-builds 2.25 doesn't support the jobdsl integration, you can find a 2.26 snapshot build in the comments at https://github.com/jenkinsci/promoted-builds -plugin/pull/82#issuecomment-201712737 or build yourself until the official 2.26 release is made.
On Fri, Apr 15, 2016 at 11:05 AM, Praveen A <[email protected]> wrote: > Hello All, > > I am using "Promoted builds" plugin to promote automatically from one > stage to another using "Jenkins Job DSL" automation of jenkins build > configurations. > > I have given the following syntax for promoting builds, but it is not > working with Job dsl 1.45 plugin (tried in http://job-dsl.herokuapp.com) > > freeStyleJob('test-job') { > properties{ > promotions { > promotion { > name('Development') > conditions { > manual('testuser') > } > actions { > shell('echo hello;') > } > } > } > } > } > > > *Environment :* > Job DSL version : 1.45 > promoted-builds : 2.25 > promoted-builds-simple : 1.9 > > Please help me out in this. > > Thanks, > Praveen > > -- > 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/3d4670e2-dbc3-4fc9-857f-5187f61f6ffd%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/3d4670e2-dbc3-4fc9-857f-5187f61f6ffd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- 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-PCH79mR-yiKF_ztY9kWL%3D%2BSXjnCxgVfTSTzQTpgh5orFTMw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
