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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3d4670e2-dbc3-4fc9-857f-5187f61f6ffd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to