<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 07/21/2015 03:35 PM, Abhishek
Shrivastava wrote:<br>
</div>
<blockquote
cite="mid:CAOULzZUPmGRmE2iG4FsrzVvLZAqx2BCH+wBSdeiBZ7MArK_njA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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>
In /etc/jenkins_jobs/config/ examples.yaml, that's all.<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>
echo "Hello world, this is the {vendor} Testing System"<br>
- link-logs # In macros.yaml from os-ext-testing<br>
<br>
# 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
cite="mid:CAOULzZUPmGRmE2iG4FsrzVvLZAqx2BCH+wBSdeiBZ7MArK_njA@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 21, 2015 at 12:52 PM, Tang
Chen <span dir="ltr"><<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="https://review.openstack.org/#/c/203941/"
style="font-family:Consolas,'Lucida
Console',monospace;font-size:12.8000001907349px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(240,247,255)"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
href="http://www.cloudbyte.com"
target="_blank">Cloudbyte Inc.</a></font></u></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>