can you share the link to the patch? is it still blocking you?
----- Original Message -----
From: "Vishnu Sreekumar" <vishnu.srkmr(a)gmail.com>
To: "David Caro Estevez" <dcaroest(a)redhat.com>, "Eyal Edri"
Sent: Monday, March 30, 2015 3:23:21 PM
Subject: Re: Help with the jenkins yaml
I'm sorry, I think I made a mistake. Right after I pushed the first version,
I received a BUILD FAILED email. Can I abandon the commit or something
without messing it up further?
On Mon, Mar 30, 2015 at 8:20 PM, Vishnu Sreekumar < vishnu.srkmr(a)gmail.com >
Did an initial commit, please review..
On Mon, Mar 30, 2015 at 7:40 PM, Vishnu Sreekumar < vishnu.srkmr(a)gmail.com >
Thanks David, that was really helpfull.. :)
From what I understand so far, I need to create the yaml file which calls a
shell-script (which should go inside shell-scripts/). The alert_patch....py
with all the required options will be called withing the shell script.
If this is correct,
1) What should be the trigger for the job?
I am still not sure what the scm is for. But as you suggested I'll start with
the yaml file and the basic structure first.
On Mon, Mar 30, 2015 at 6:29 PM, David Caro Estevez < dcaroest(a)redhat.com >
Thanks! Yes, had a lot of rest :)
Let me give you a small intro to jenkins yaml ;)
We keep all of the jobs yaml files (and related) here:
There you can see three (for now) dirs that separate code by code type
groovy anbd yaml). Under sheel and groovy you'll find shell and groovy
scripts/templates that we use inside the jenkins jobs themselves.
They might not be run per-se, as they might be templates and require to have
some of the variables inside them resolved previously to be valid
Under yaml, you'll find all the yaml files we use, separated by function (as
they are separated by jenkins-job-builder itself, like triggers,
There's a small README file that explains a bit how it's organized and how to
test it (I have to update it too ;/, we moved to a newer version of
jenkins-job-builder last week and the parameters to run it have changed a
So for this job, you can write everything up on a single yaml file under
jobs/confs/yaml/system/ with a name like system_gerrit-patches-whatever.yaml
There you can just create a job section with a shell builder that does the
You'll need also to include the jenkins scm,check first if you can use one of
the already defined under scm for it, if not, feel free to add the new one
We can start just with creating that file and the basic structure of it, and
move from there once reviewing on gerrit once the patch is there, what do you
On 03/30, Vishnu Sreekumar wrote:
> Hi David,
> Hope you had a good vacation!
> So I write a yaml template and push it to the repository? I don't have
> access to the jenkins job builder. Do I need to commit the yaml file to a
> specific folder or anwhere in this tree  is ok?
Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D
Tel.: +420 532 294 605
RHT Global #: 82-62605
Infra mailing list