[haiku-development] Re: Checker bot for Gerrit

  • From: saloni goyal <salonig1212@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 23 Mar 2021 02:31:16 +0530

On Mon, Mar 22, 2021 at 10:58 PM Suhel Mehta <mehtasuhel@xxxxxxxxx> wrote:


On Mon, Mar 22, 2021 at 4:10 AM saloni goyal <salonig1212@xxxxxxxxx> wrote:

On Sun, Mar 21, 2021 at 12:23 AM Adrien Destugues
<pulkomandy@xxxxxxxxxxxxx> wrote:


I have tried to understand the gerrit workflow and have set up gerrit
and had integrated jenkins with it. When the code is pushed the
Jensins build it but we have to build it manually by clicking on the
build button, it is not automated yet.
I am working on it to automate the build process and will update you
regarding it soon.
I have followed below links :
https://codechecker.readthedocs.io/en/latest/jenkins_gerrit_integration/
https://nofluffjuststuff.com/magazine/2016/06/understanding_and_applying_gerrit_part_4_integrating_jenkins_with_gerrit

This link might help you :
https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger/#GerritTrigger-Gerritaccessrights
and please see the changes that need to be done as per the Gerrit version.
If you need help with anything else let us know.

With the help of the above link I was able to do basic integration of
Jenkins and gerrit on my local server. With the help of REST Api
settings in Jenkins a new build is running after every new commit,
patchset and merged code in Gerrit in real time. Along with that, it
also displays information in gerrit like Build has started or Build
successful or Failed. After that I have added a label Verified in
gerrit on which I am working to get it updated from Jenkins.

-- 
Saloni
https://github.com/saloniig
https://hackace2.wordpress.com/

Other related posts: