Class JobUpdater
java.lang.Object
org.jenkinsci.plugins.conditionalbuildstep.singlestep.JobUpdater
Utilities for the script console
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
updateBuilders
(FreeStyleProject project) Wrap all of the allowed BuildSteps on a freestyle project with a single conditional builder For freestyle project called 'xxx':import static org.jenkinsci.plugins.conditionalbuildstep.singlestep.JobUpdater.* def job = hudson.model.Hudson.instance.getItem('xxx') updateBuilders job
Once executed, go to the configure page to check that everything looks OK, then save the configuration
-
Constructor Details
-
JobUpdater
public JobUpdater()
-
-
Method Details
-
updateBuilders
Wrap all of the allowed BuildSteps on a freestyle project with a single conditional builder For freestyle project called 'xxx':import static org.jenkinsci.plugins.conditionalbuildstep.singlestep.JobUpdater.* def job = hudson.model.Hudson.instance.getItem('xxx') updateBuilders job
Once executed, go to the configure page to check that everything looks OK, then save the configuration- Throws:
IOException
-