How to disable Multibranch / Organization project ?

Issue

  • I would like to disable a Multibranch item so that no underlying job can be triggered
  • I would like to disable a Organization item so that no underlying job can be triggered

Environment

Related Issue(s)

Explanation

Since the release of Folders plugin 6.1.0 and Branch API 2.0.11, there is an API to disable Computer Folders such as Multibranch and Organization items. The API uses a QueueDecisionHandler that prevents scheduling builds from any job that is descendant of a disabled computed folder. This applies to any type of trigger, whether it originates from a branch indexing event, an SCM event or even a manual trigger.

Resolution

At the moment there is no UI controls that can be used to disable Multibranch / Organization items. This is tracked by JENKINS-60900.

The solution until this is fixed is to append /disable to the URL of the Multibranch / Organization and then hit “Retry Using POST”.

The disabled item will displayed a greyed out icon.

Have more questions?

0 Comments

Please sign in to leave a comment.