Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Setup:
- Git Plugin 1.1.20
- a parameterized build with parameter "Branch", default "**"
- Git SCM with branch specifier "${Branch}"
- SCM polling activated
Intended behaviour:
- if any branch changes, Jenkins checks out and builds this branch
- when executed manually, the user enters the name of the branch to be built
Actual behaviour:
- no changes are detected (because the "${Branch}" value isn't resolved when polling)
Attachments
Issue Links
- is related to
-
JENKINS-8335 Hudson /polling build trigger doesn't seem to support parameterized builds like /buildWithParameters does
-
- Open
-
@Jean Blanchard - you are correct. 2.3.5 did change behavior and seemed to cover more of our use case than 2.3.4, but yes, it seems your patches are still needed. I've voted for your tickets. Also, for what it's worth, I have been running a SNAPSHOT version with your changes on our Jenkins instance with 1000s of jobs and haven't seen any issues. Thanks for the patches - looking forward to seeing them integrated into future releases.