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

As to why this happens, rsandell's explanation sounds quite convincing to me. However, for me the fix was to use $GERRIT_BRANCH (not $GERRIT_PATCHSET_REVISION) as the branch specifier. That's also what's recommended at [1]: "You may also need to set 'Branches to build' to $GERRIT_BRANCH".
[1] https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger#GerritTrigger-UsagewiththeGitPlugin