Re: [linuxtools-dev] Hudson integration with Gerrit

2012-09-01 Thread Anna Dushistova
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


Re: [linuxtools-dev] Hudson integration with Gerrit

2012-08-30 Thread sami wagiaalla


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


Re: [linuxtools-dev] Hudson integration with Gerrit

2012-08-29 Thread Andrew Overholt
 We now have a Hudson instance dedicated to verifying patches that are pushed
 for review on Gerrit. You may have already noticed the user Hudson CI
 verifying your patches on Gerrit.

Awesome!
___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Re: [linuxtools-dev] Hudson integration with Gerrit

2012-08-29 Thread Anna Dushistova
Hi Sami,

On Wed, Aug 29, 2012 at 9:58 PM, sami wagiaalla swagi...@redhat.com wrote:
 We now have a Hudson instance dedicated to verifying patches that are pushed
 for review on Gerrit. You may have already noticed the user Hudson CI
 verifying your patches on Gerrit.

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

Thanks!
Anna.

 There are no changes that you need to make this is automatic for all
 patches. If you encounter any problems with the Hudson integration please
 let me know.

 Cheers,
   Sami
 ___
 linuxtools-dev mailing list
 linuxtools-dev@eclipse.org
 https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev