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

Git Polling Keeps Detecting Changes When Variables in refspec

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: