-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
1.609.1
git-plugin-2.4.0
git-client-1.18.0
- Parametrise build with input string parameter BRANCH and default value *
- define branchspec
origin/${BRANCH}
- enable polling
Polling will see infinitely new changes.
Fix - remove variable and directly set *
- is related to
-
JENKINS-30345 broken workspace less polling
-
- Open
-
-
JENKINS-17614 Jenkins triggers builds on git SCM changes, but nothing changed
-
- Resolved
-
[JENKINS-29714] infinite polling with variable in branchspec
Assignee | Original: Nicolas De Loof [ ndeloof ] | New: Mark Waite [ markewaite ] |
Description |
Original:
# Parametrise build with input string parameter BRANCH and default value * # define branchspec origin/${BRANCH} # enable polling Polling will see infinitely new changes. Fix - remove variable and directly set * |
New:
# Parametrise build with input string parameter BRANCH and default value * # define branchspec {code} origin/${BRANCH}{CODE} # enable polling Polling will see infinitely new changes. Fix - remove variable and directly set * |
Description |
Original:
# Parametrise build with input string parameter BRANCH and default value * # define branchspec {code} origin/${BRANCH}{CODE} # enable polling Polling will see infinitely new changes. Fix - remove variable and directly set * |
New:
# Parametrise build with input string parameter BRANCH and default value * # define branchspec {code:java} origin/${BRANCH} {code} # enable polling Polling will see infinitely new changes. Fix - remove variable and directly set * |
Assignee | Original: Mark Waite [ markewaite ] |
Link |
New:
This issue is related to |
Link | New: This issue is related to JENKINS-30345 [ JENKINS-30345 ] |
Is this a new behavior, or has it always behaved this way?
Since this is the refspec, can you explain your use case further so that I understand why you declared it to be critical?
I'm accustomed to refspecs being used to limit what is fetched or is considered for fetch, but still you need to choose the branch which will be built. Help me better understand how you are using a parameterized refspec.