Hi Sami, Thanks a lot! It now works for me too. Anna.
On Thu, Aug 30, 2012 at 8:02 PM, sami wagiaalla <swagi...@redhat.com> wrote: > > Hi Anna, > > >> Can I take a look at the verification job config? >> The trigger didn't work for awhile: >> https://bugs.eclipse.org/bugs/show_bug.cgi?id=384827 >> > > We got most of our settings from here: > http://wiki.eclipse.org/Gerrit#Verifying_Changes_on_Hudson_using_Gerrit_Trigger_Plugin > and http://wiki.hudson-ci.org/display/HUDSON/Gerrit+Trigger > > We have not had any problems with the trigger. The main problem was getting > Hudson to build the right commit on the right branch for which we used the > following "execute shell" build step before running maven: > > #!/bin/sh -x > git fetch git://git.eclipse.org/gitroot/linuxtools/org.eclipse.linuxtools > $GERRIT_REFSPEC > git checkout FETCH_HEAD > CODE=$? > if [ ${CODE} -ne 0 ]; then > git reset --hard > exit ${CODE} > fi > > You should be able to view the configuration if you login: > https://hudson.eclipse.org/sandbox/job/linuxtools/ > > Hope this helps. > Sami > _______________________________________________ linuxtools-dev mailing list linuxtools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/linuxtools-dev