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

DiscardOldBranchTrait doesn't respect keepForDays

    • 935.1.0

      While using the DiscardOldBranchTrait, almost all branches get deactivated during multibranch pipeline scan. The option for keepForDays is just ignored. 

      Taking a deeper look at the code, it looks like the trait always disables all branches older than now instead of older than now - keepForDays.

            nfalco Nikolas Falco
            kinnarr Franz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: