|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jenkinsci.plugins.conditionalbuildstep.singlestep.JobUpdater
public class JobUpdater
Utilities for the script console
| Constructor Summary | |
|---|---|
JobUpdater()
|
|
| Method Summary | |
|---|---|
static boolean |
updateBuilders(hudson.model.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobUpdater()
| Method Detail |
|---|
public static boolean updateBuilders(hudson.model.FreeStyleProject project)
throws IOException
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
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||