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

Update:
I'm using EnvInject plugin, and set "Prepare an environment for the run", then setting several varibles in "Properties Content" like: GIT_BRANCH=dev
Then in git configuration, in "Branches to build" I'm using the variable: refs/heads/${GIT_BRANCH}
That always worked.
So I've tested several ways, without sucess:
refs/heads/${GIT_BRANCH}
refs/heads/$GIT_BRANCH
*/${GIT_BRANCH}
*/$GIT_BRANCH
I just tried removing the variable and set it hardcoded:
refs/heads/dev => not worked
And then, simply:
dev
*/dev
then it worked, any of the two combinations above, without varaibles and without specifying