-
Bug
-
Resolution: Fixed
-
Major
-
None
-
git-plugin 2.3.5
This is a follow-up to JENKINS-14276. I'm creating this to better track the issues I fixed in my original pull-request [1], which I will update accordingly.
To reproduce:
- A parametrized build with parameter BRANCH_TO_BUILD, with default value "branch1"
- Git SCM with branch specifier "${BRANCH_TO_BUILD}"
- SCM polling enabled
- Previous manual job launch with BRANCH_TO_BUILD=branch2
Expected:
- When polling, BRANCH_TO_BUILD is set to branch1 (default value), so only updates to branch1 trigger a build.
Actual:
- When polling, BRANCH_TO_BUILD is set to branch2 (value from last execution).
- is duplicated by
-
JENKINS-27327 When specifying the branch to poll as part of a parameterized build, git-plugin uses last polled branch instead
-
- Closed
-
The git plugin and git client plugin are being tested in hopes of releasing new versions before the end of June. If you're willing to assist with the testing, please download and install a pre-release build of the git client plugin and the git plugin. Problems detected in the pre-release should be e-mailed to MarkEWaite and ndeloof.
I wrote some test ideas if you would like suggestions of areas that need testing. The git plugin supports many different use cases and its automated tests only evaluate a very few of those use cases.