<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;color:#000000">If you want to create a new job then refer "<b>dsvm-cinder-driver.yaml.sample</b>", and regarding "<b>noop-check-communication</b>" its just for testing the first time don't modify it.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 1:19 PM, Tang Chen <span dir="ltr"><<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<br>
<div>On 07/21/2015 03:35 PM, Abhishek
Shrivastava wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:monospace,monospace;color:#000000">Hi
Tang, </div>
<div class="gmail_default" style="font-family:monospace,monospace;color:#000000"><br>
</div>
<div class="gmail_default" style="font-family:monospace,monospace;color:#000000">Can you
please send me the whole job snippet you wrote.</div>
</div>
</blockquote>
<br></span>
In /etc/jenkins_jobs/config/ examples.yaml, that's all.<span class=""><br>
<br>
- job-template:<br>
name: 'noop-check-communication'<br>
node: '{node}'<br>
<br>
builders:<br>
- shell: |<br>
#!/bin/bash -xe<br>
touch /tmp/noop-check-communication<br></span><span class="">
echo "Hello world, this is the {vendor} Testing System"<br>
- link-logs # In macros.yaml from os-ext-testing<br>
<br></span>
# publishers:<br>
# - devstack-logs # In macros.yaml from os-ext-testing<br>
# - console-log # In macros.yaml from os-ext-testing<br>
<br>
<br>
<br>
noop-check-communication was setup by default. I didn't change
anything else.<br>
<br>
<br>
BTW, I tried to ask this in #openstack-meeting IRC. <br>
But no one seems to be active. :)<br>
<br>
Thanks.<br>
<br>
<br>
<blockquote type="cite"><div><div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 21, 2015 at 12:52 PM, Tang
Chen <span dir="ltr"><<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi Asselin, Abhishek,<br>
<br>
I got some problems when I was trying to write a jenkins
job.<br>
<br>
I found that when zuul received the notification from
gerrit, jenkins didn't run the test.<br>
<br>
I added something to noop-check-communication in
/etc/jenkins_jobs/config/ examples.yaml, <br>
just touched a file under /tmp. <br>
<br>
- job-template:<br>
name: 'noop-check-communication'<br>
node: '{node}'<br>
<br>
builders:<br>
- shell: |<br>
#!/bin/bash -xe<br>
touch
/tmp/noop-check-communication
# I added something here.<br>
echo "Hello world, this is the {vendor} Testing
System"<br>
- link-logs # In macros.yaml from os-ext-testing<br>
<br>
And I flushed the jobs, using jenkins-jobs --flush-cache
update /etc/jenkins_jobs/config/.<br>
I can build the job in jenkins web UI, and the file was
touched.<br>
<br>
<br>
But when I send a patch, the file was not touched. But CI
really works. <br>
I can see it on the web site. ( <a href="https://review.openstack.org/#/c/203941/" target="_blank">https://review.openstack.org/#/c/203941/</a>)<br>
<br>
How do you think of this ?<br>
<br>
<br>
<br>
</div>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font color="#0b5394"><b><img src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br>
</b></font></div>
<div><font color="#000000" face="times new
roman, serif" size="2"><b>Thanks &
Regards,<br>
</b></font></div>
<font color="#000000"><font face="times new
roman, serif" size="2"><b>Abhishek</b></font><br>
</font></div>
</div>
<div><i><u><font color="#0000ff"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></font></u></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0b5394"><b><img src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br></b></font></div><div><font color="#000000" size="2" face="times new roman, serif"><b>Thanks & Regards,<br></b></font></div><font color="#000000"><font size="2" face="times new roman, serif"><b>Abhishek</b></font><br></font></div></div><div><i><u><font color="#0000ff"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></font></u></i></div></div></div></div></div></div></div>
</div>