Hello, I am using the Jenkins CLI to pull down a list of 'template' jobs, search and replace for our release version, then "create" a job using the job XML which I have pulled from Jenkins.
The template job uses "promoted builds" plugin to have CI, "Directed Build", ReleaseCandidate, ReleasetoProduction promotion steps. However, when I pull down the template job description, do my replace, and perform the Create, I'm not getting the Promoted Builds configuration included in the new job. I have wrapped all of the Java CLI calls in Powershell, I'd be happy to send out the script if someone would like to look at it. Otherwise, any ideas how I can get a New Job created and include the Promoted Builds configuration? Note: To fix this I have manually copied the following folders from the template job to my new job: promotions\CI-Complete promotions\DirectedBuild promotions\QA-Ready promotions\Release promotions\ReleaseCandidate promotions\ReleaseToProduction promotions\CI-Complete\config.xml promotions\CI-Complete\nextBuildNumber promotions\DirectedBuild\config.xml promotions\DirectedBuild\nextBuildNumber promotions\QA-Ready\config.xml promotions\QA-Ready\nextBuildNumber promotions\Release\config.xml promotions\Release\nextBuildNumber promotions\ReleaseCandidate\config.xml promotions\ReleaseCandidate\nextBuildNumber promotions\ReleaseToProduction\config.xml promotions\ReleaseToProduction\nextBuildNumber I would think the CLI Create command would do all of this. Thank you. Mike -- 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]. For more options, visit https://groups.google.com/d/optout.
