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

Running a script when deleting a pipeline from a multibranch pipeline

      I have a Multibranch Pipeline project successfully building both our Android and iOS WeatherBug app.  However, when a branch is merged into the main branch and deleted, the pipeline text becomes strikethrough text.  At this point the drop down menu has a deleted menu option.  Before deleting, is there a way to run a script?  For example, I save some artifacts on Amazon S3 bucket and want to delete them once I delete the pipeline.

          [JENKINS-44028] Running a script when deleting a pipeline from a multibranch pipeline

          Derrik Ammons created issue -
          Jesse Glick made changes -
          Component/s Original: core [ 15593 ]
          Jesse Glick made changes -
          Labels Original: delete multibranch pipeline New: delete multibranch
          Matthew DeTullio made changes -
          Component/s New: pipeline [ 21692 ]
          Component/s New: workflow-multibranch-plugin [ 21465 ]
          Component/s Original: multi-branch-project-plugin (not Pipeline) [ 21127 ]
          Matthew DeTullio made changes -
          Assignee Original: Matthew DeTullio [ mjdetullio ]
          Jesse Glick made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Component/s Original: pipeline [ 21692 ]
          Component/s Original: workflow-multibranch-plugin [ 21465 ]
          Denys Digtiar made changes -
          Link New: This issue duplicates JENKINS-40606 [ JENKINS-40606 ]
          Denys Digtiar made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            derrikammons Derrik Ammons
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: