I thought this would be possible after the fix in https://issues.jenkins-ci.org/browse/JENKINS-27299, but apparently not so... Hence asking here.
Assuming in a Jenkinsfile, that is run as part of a multi-branch type job, I decide to disable some jobs, e.g: post { failure { script { def job = Jenkins.instance.getItem("some-job-name"); job.disable(); } } } If this actually works, how could I then re-enable this job given there is no button in the UI to enable (or even disable) a multi-branch job? -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/57001001-e365-4c14-b901-5ee4f8417bb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.