-
Bug
-
Resolution: Fixed
-
Major
-
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.
- is related to
-
JENKINS-21886 Push notifications don't work if JOB_NAME variable is in repository URL
-
- Open
-
[JENKINS-22009] Git Polling Keeps Detecting Changes When Variables in refspec
Link | New: This issue is related to JENKINS-21886 [ JENKINS-21886 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
I agree with this bug .... older versions of the Git plugin used to properly resolve variables in the "branches to build" field in both parameterized builds and polling. Now, it seems that polling does not resolve variables when issuing the ls-remote command. Can someone look into this – it seems like a trivial thing to fix.
Thanks.