Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 11/Mar/15 9:38 AM
Description:

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).

[1] https://github.com/jenkinsci/git-plugin/pull/293

Environment: git-plugin 2.3.5
Project: Jenkins
Priority: Major Major
Reporter: Jean Blanchard
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to