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

Pipelines need to be marked as disabled when disabled

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            Thanks Ivan Meredith - moving this to the design epic.

            Show
            jamesdumay James Dumay added a comment - Thanks Ivan Meredith - moving this to the design epic.
            Hide
            mfbeary 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.

            Show
            mfbeary 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.

              People

              • Assignee:
                Unassigned
                Reporter:
                imeredith Ivan Meredith
              • Votes:
                7 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated: