|
||||||||
|
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 |
||||||||
- [JIRA] (JENKINS-15244) Gerrit Trigger - 405 ... [email protected] (JIRA)
- [JIRA] (JENKINS-15244) Gerrit Trigger -... [email protected] (JIRA)
- [JIRA] (JENKINS-15244) Gerrit Trigger -... [email protected] (JIRA)
- [JIRA] (JENKINS-15244) Gerrit Trigger -... [email protected] (JIRA)
- [JIRA] (JENKINS-15244) Gerrit Trigger -... [email protected] (JIRA)

I found that when the Refs Updated trigger is used, there is no $GERRIT_BRANCH parameter but only a $GERRIT_REFNAME.
As my Refs Updated triggered builds were failing too, adding a GERRIT_BRANCH parameter with default value $GERRIT_REFNAME fixed them.
And to build a specific branch like origin/master, there is just to set the GERRIT_BRANCH to master and the GERRIT_REFSPEC to rfs/heads/master .