Is there a way in Jenkins (Hudson) to disable a job from another job?
Basically we have a build environment that does the standard building/testing. We also use the
Recent version of Jenkins (2 and over) change the method name. Just replace disable() with setDisabled(boolean)
disable()
setDisabled(boolean)
Found that this worked for me: Jenkins.instance.getItem("jobname").setDisabled(false)
Jenkins.instance.getItem("jobname").setDisabled(false)