<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 June 2017 at 17:00, Xinliang Liu <span dir="ltr"><<a href="mailto:xinliang.liu@linaro.org" target="_blank">xinliang.liu@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif">Hi Lenny,</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On 13 June 2017 at 14:24, Lenny Verkhovsky <span dir="ltr"><<a href="mailto:lennyb@mellanox.com" target="_blank">lennyb@mellanox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-1524382553279140336gmail-m_-6660875621741568521WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi Xinliang,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Can you provide more details?
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">If you can share the files in [1]<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">In general JJB yaml files are translated into Jenkins Jobs<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">And zuul yaml ( layout.yaml ) is used by zuul to trigger a specific job according to the patchset</span></p></div></div></blockquote><div><br></div></span><div><div style="font-family:arial,helvetica,sans-serif">​The jobs/projects described here[1] and here[2] are different, right? </div><div style="font-family:arial,helvetica,sans-serif">I know that [2] are the jenkins project/jobs. And the [1] projecj/jobs are about gearman jobs?</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">The confusion is that what's the  relationship between these two kind of project/jobs?</div><div style="font-family:arial,helvetica,sans-serif">How zuul trigger [2] porect/jobs to run?</div></div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​After look a bit deep into the [1],  [2] config fiiles and zuul doc[3] , jenkins-job-builder docs[4].</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Now, I am not that confusion. And know how [1] and [2] connect with each other:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The projects part in zuul layout.yaml file describe the pipeline and jenkins jobs to run for each gerrit project.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The jobs part in zuul layout.yaml file just describe some additional attributes of the jenkins jobs. As zuul docs jobs part[5] said.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">e.g.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">kolla project[6] and kolla jenkins jobs[7].</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​[3] <a href="https://docs.openstack.org/infra/zuul/zuul.html">https://docs.openstack.org/infra/zuul/zuul.html</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[4] <a href="https://docs.openstack.org/infra/jenkins-job-builder/definition.html">https://docs.openstack.org/infra/jenkins-job-builder/definition.html</a>​</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[5] <a href="https://docs.openstack.org/infra/zuul/zuul.html#jobs">https://docs.openstack.org/infra/zuul/zuul.html#jobs</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[6] <a href="https://github.com/openstack-infra/project-config/blob/master/zuul/layout.yaml#L11348">https://github.com/openstack-infra/project-config/blob/master/zuul/layout.yaml#L11348</a><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[7] <a href="https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/projects.yaml#L6239">https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/projects.yaml#L6239</a><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">-xinliang</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">[1] <a href="https://github.com/openstack-infra/project-config/blob/master/zuul/layout.yaml#L3756" target="_blank">https://github.com/openstack-<wbr>infra/project-config/blob/<wbr>master/zuul/layout.yaml#L3756</a>​</div><div><font face="arial, helvetica, sans-serif"><a href="https://github.com/openstack-infra/project-config/blob/master/zuul/layout.yaml#L1216" target="_blank">https://github.com/openstack-<wbr>infra/project-config/blob/<wbr>master/zuul/layout.yaml#L1216</a></font><br></div><div style="font-family:arial,helvetica,sans-serif">[2] <a href="https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs" target="_blank">https://github.com/<wbr>openstack-infra/project-<wbr>config/blob/master/jenkins/<wbr>jobs</a></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">Thanks,</div><div style="font-family:arial,helvetica,sans-serif">-xinliang</div><br></div><span class="gmail-"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-1524382553279140336gmail-m_-6660875621741568521WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[1]
</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(0,102,33);background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:white"><a href="http://paste.openstack.org" target="_blank">paste.openstack.org</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Best Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Lenny<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Xinliang Liu [mailto:<a href="mailto:xinliang.liu@linaro.org" target="_blank">xinliang.liu@linaro.or<wbr>g</a>]
<br>
<b>Sent:</b> Tuesday, June 13, 2017 6:00 AM<br>
<b>To:</b> openstack-infra <<a href="mailto:openstack-infra@lists.openstack.org" target="_blank">openstack-infra@lists.opensta<wbr>ck.org</a>><br>
<b>Subject:</b> [OpenStack-Infra] [infra] confusion on projec/jobs between zuul and jenkins job builder<u></u><u></u></span></p><div><div class="gmail-m_-1524382553279140336gmail-h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Hi,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">I got a confusion on zuul and jenkins job builder.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">I see that both zuul and jenkins job builder describe projects/jobs in their ymal conf files.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Then what's the difference? How these two kinds projects/jobs work together?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Best,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">-xinliang<u></u><u></u></span></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>