You can use the configure block: - https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block
On Tuesday, 23 February 2016 12:15:48 UTC, khmarbaise wrote: > > Hi, > > first this is a question more specific for the job-dsl-plugin list > <https://groups.google.com/forum/#!forum/job-dsl-plugin> apart from that > > based on the docs there is no support for accurev at the moment... > > https://jenkinsci.github.io/job-dsl-plugin/#path/job-scm > > Kind regards > Karl Heinz Marbaise > > On Monday, February 22, 2016 at 10:03:36 PM UTC+1, Hemant Gupta wrote: >> >> I am using the following script to create a Job DSL using accurev. >> Please let me know how should the correct script look like. >> >> job('payer-server') { >> scm { >> accurev { >> /**What to insert here **/ >> } >> } >> triggers { >> scm('H/15 * * * *') >> } >> steps { >> maven { >> goals('-e clean install') >> mavenOpts('-Xms256m') >> mavenOpts('-Xmx512m') >> properties skipTests: true >> mavenInstallation('Maven 3.3.3') >> } >> } >> } >> > -- 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/1faf9f54-2263-49d3-8223-7b6123364e11%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
