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

Incorrect wording in help text for Orphaned Item Strategy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • branch-api-plugin
    • None
    • Jenkins 2.263.4
      branch-api-plugin 2.6.2

      The help text for Orphaned Item Strategy states:

      Jobs for removed SCM heads (i.e. deleted branches) can be removed immediately or kept based on a desired retention strategy. By default, jobs will be removed as soon as Jenkins determines their associated SCM head no longer exists.

      I've tested with bitbucket-branch-source-plugin and github-branch-source-plugin and this is not true. The strategy doesn't check if the SCM head exists or not, but removes any branch marked as orphaned regardless of if the associated SCM head exists or not.
      Preferably, it should keep the job for any branch that still exists. The current behavior cause behavior described in JENKINS-52406.
      If this is not possible, the text should be changed to reflect the actual behavior. Not sure what that text would be though as the current behavior is not obvious.

            Unassigned Unassigned
            ahammar Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: