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

Git Polling Keeps Detecting Changes When Variables in refspec

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None

      I have a job where the git refspec and branch are set to +refs/heads/${branch}:refs/remotes/origin/${branch} and the branch is set to ${branch}.

      With that configuration, the SCM polling keeps triggering new builds from the same change.

      If I replace the variables with their values, the SCM polling works correctly.

          [JENKINS-22009] Git Polling Keeps Detecting Changes When Variables in refspec

          Christian Goetze created issue -
          Jakob Korherr made changes -
          Link New: This issue is related to JENKINS-21886 [ JENKINS-21886 ]
          Jakob Korherr made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jakob Korherr made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ] New: Jakob Korherr [ jakobk ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154086 ] New: JNJira + In-Review [ 207463 ]

            jakobk Jakob Korherr
            cg Christian Goetze
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: