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

Multibranch pipeline orphaned item strategy can't be set to 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • pipeline
    • None

      Currently the orphaned item strategy for a multibranch pipeline job does not allow one to set retention policy for 0 days / 0 branches. The form validator says "Not a positive integer". I would recommend changing this form validation to accept 0 as a valid "positive" integer to allow immediate deletion of branches from a multibranch pipeline job as soon as the respective branch is deleted in source control.

            Unassigned Unassigned
            leedega Kevin Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: