-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: git-plugin
-
Labels:None
-
Environment:git-plugin 2.3.5
-
Similar Issues:
This is a follow-up to JENKINS-27349.
To reproduce:
- A parametrized build with parameter BRANCH_TO_BUILD, with default value "" (or a last execution with BRANCH_TO_BUILD="" until
JENKINS-27349is fixed) - Git SCM with branch specifier "${BRANCH_TO_BUILD}"
- SCM polling enabled
Expected:
- Should poll all branches, same as when you set the branchspec to "" directly, without parameters.
Actual:
- Nothing is matched
Workaround:
- Set the default value to "**" instead of ""
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Workflow | JNJira [ 161556 ] | JNJira + In-Review [ 208518 ] |