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

Git Polling Keeps Detecting Changes When Variables in refspec

    XMLWordPrintable

Details

    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

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: