My team is using Jenkins to manage out Continuous Delivery pipelines. This means infrastructure is created and maintained through the life of a service in different environments. It would be useful if upon a job becoming an orphan we could execute something that destroys the infrastructure.

          [JENKINS-50351] Provide Hook for Orphaned Item Strategy

          Devin Nusbaum added a comment -

          It looks like OrphanedItemStrategy is already an extension point, so you should be able to implement a custom strategy that does what you'd like. I don't know if what you had in mind would be generally applicable to other users of the plugin, but you can always create a new plugin with the custom extension. The Jenkins developer documentation might be helpful, and contributions are always welcome.

          Devin Nusbaum added a comment - It looks like OrphanedItemStrategy is already an extension point, so you should be able to implement a custom strategy that does what you'd like. I don't know if what you had in mind would be generally applicable to other users of the plugin, but you can always create a new plugin with the custom extension. The Jenkins developer documentation might be helpful, and contributions are always welcome.

            Unassigned Unassigned
            jacobtomaw Jacob Tomaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: