Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36081

Pipelines need to be marked as disabled when disabled

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None

      Design brief
      A pipeline can be disabled to prevent its automatic execution. This commonly happens when pipelines are broken so that they do not execute and use valuable agent resources to execute. They are not deleted as the author plans to resurrect them.

      Scope

      • Add API to check if Pipeline is enabled or disabled
      • SSE events for Pipeline is enabled or disabled
      • Show and hide the disabled state of the pipeline based on the API and SSE event.

          [JENKINS-36081] Pipelines need to be marked as disabled when disabled

          James Dumay added a comment -

          Thanks imeredith - moving this to the design epic.

          James Dumay added a comment - Thanks imeredith - moving this to the design epic.

          Matt Beary added a comment - - edited

          This also affects multibranch pipelines on 2.190.1 disabled using this method: https://stackoverflow.com/a/52294387

          current behavior is that the folder changes its icon from the usual multibranch icon to a grayed folder, but it still shows up in views limited to enabled jobs & does not have a clear indication that it is disabled.

          Matt Beary added a comment - - edited This also affects multibranch pipelines on 2.190.1 disabled using this method: https://stackoverflow.com/a/52294387 current behavior is that the folder changes its icon from the usual multibranch icon to a grayed folder, but it still shows up in views limited to enabled jobs & does not have a clear indication that it is disabled.

            Unassigned Unassigned
            imeredith Ivan Meredith
            Votes:
            7 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: