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

multibranch job delete branch jobs immidately after branch deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • ubuntu jenkins Version 2.492.2

      I would like to delete the branch job immediately after the branch is deleted. currently, even after setting the orphanedItemStrategy like this,

       

      <abortBuilds>false</abortBuilds>
      <daysToKeep>-1</daysToKeep>
      <numToKeep>-1</numToKeep>
      <pruneDeadBranches>true</pruneDeadBranches>
      </orphanedItemStrategy>

       

      The branch job is disabled first and only after the next scan it is removed. This causes some resource consumption and cost. we are using https://github.com/jenkinsci/multibranch-action-triggers-plugin/ to trigger other jobs to remove the resources.  

            Unassigned Unassigned
            krishgcek Krishnan PR
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: