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

Pipelines need to be marked as disabled when disabled

    XMLWordPrintable

Details

    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

            jamesdumay James Dumay added a comment -

            Thanks imeredith - moving this to the design epic.

            jamesdumay James Dumay added a comment - Thanks imeredith - moving this to the design epic.
            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.

            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

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

              Dates

                Created:
                Updated: