Am Montag, 26. Oktober 2015 10:43:23 UTC+1 schrieb Andy Wang: > > Hi Peter, > > Same thing happened to me as well. I'm using Jenkins-1.634; > Git-Plugin-2.4.0; Git-Client-Plugin-1.19.0; Gerrit-trigger:2.16.0 > > I configed the Gerrit Trigger plugin on jenkins based on the article > https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger. > > On git plugin, I set Refspec to *refs/changes/*:refs/changes/** and > 'Branches to build' to *$GERRIT_REFSPEC.* >
Set Refspec to $GERRIT_REFSPEC, branches to $GERRIT_BRANCH and make sure to use the gerrit trigger strategy under advanced options. I guess the doc is just slighty outdated. Björn -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7a91d96a-d50c-4d17-91dd-b6236974ede0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.