<div dir="ltr">Forgot reply to all, just for some other folks in the future to see this:<div><br></div><div><br><div><div class="" tabindex="-1" style="font-family:arial,sans-serif;font-size:medium"><div class="" style="width:941px">
<div class=""><div id=":2db"><div class=""><div class=""><div class=""><img id=":0_17-e" name=":0" src="https://plus.google.com/u/0/_/focus/photos/public/AIbEiAIAAABECJaC0vDqqPDnjgEiC3ZjYXJkX3Bob3RvKigyYWI0MjIwMzU0YjE3MDgyMzFjNWNkOTFkY2QzZDM4OGJhZGMzMjA0MAG_s9dHaE8qee62tUJH21v60gq-ag?sz=32" class=""></div>
</div><div class=""><div class="" style="font-size:13px"><table cellpadding="0" class=""><tbody><tr class=""><td class="" style="width:630px"><table cellpadding="0" class="" style="width:630px"><tbody><tr><td><div class="">
<span name="XINYU ZHAO" class="" style="font-size:13px">XINYU ZHAO</span> <span class=""><<a href="mailto:xyzjerry@gmail.com">xyzjerry@gmail.com</a>></span></div></td></tr></tbody></table></td><td class=""><div class="">
<span id=":2hp" class="" title="Tue, Nov 5, 2013 at 4:44 PM" alt="Tue, Nov 5, 2013 at 4:44 PM">4:44 PM (51 minutes ago)</span><div class="" tabindex="-1" style="outline:0px"><span class=""><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></span></div>
</div></td><td class=""></td><td class="" rowspan="2"><div class="" tabindex="0" style><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div><div id=":2hf" class="" tabindex="0" style><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div>
</td></tr><tr class=""><td colspan="3"><table cellpadding="0" class="" style="width:816px"><tbody><tr><td class=""><div class=""><span class="">to <span dir="ltr" name="Steve" class="">Steve</span></span></div><div class="">
<img class="" id=":2co" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div></td></tr></tbody></table></td></tr></tbody></table></div><div class=""></div><div class=""></div><div class=""></div><div id=":2cp" tabindex="-1">
</div><div id=":2hr" class="" style="font-size:13px"><div id=":2hs" style="overflow:hidden"><div dir="ltr">In my job config.xml, the configuration for SCP publisher looks like this:<div><div> <filePath>logs/$LOG_PATH</filePath></div>
<div> <sourceFile></sourceFile></div><div> <keepHierarchy>false</keepHierarchy></div><div> <copyConsoleLog>true</copyConsoleLog></div><div> <copyAfterFailure>true</copyAfterFailure></div>
</div><div><br></div><div>Which will copy console log only to the destination. I think jjb will generate something like this and pass console-log value to it. </div><div><br></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="adm"><div id="q_1422af25cc040c7c_1" class="h4"><div class="" style></div></div></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div class="adm"><div id="q_1422af25cc040c7c_3" class="h4"><div class="" style></div></div></div></div>_______________________________________________<br>OpenStack-Infra mailing list<br><a href="mailto:OpenStack-Infra@lists.openstack.org" target="_blank">OpenStack-Infra@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><div class=""></div></blockquote></div></div></div></div>
<div class=""></div></div><div class=""></div></div><div class="" style="font-size:13px"><div class=""><div class=""></div></div></div></div></div></div></div><div class="" tabindex="-1" style="font-family:arial,sans-serif;font-size:medium">
<div class="" style="width:941px"><div class=""><div id=":2ed"><div class=""><div class=""><div class=""><img id=":0_19-e" name=":0" src="https://ssl.gstatic.com/ui/v1/icons/mail/profile_mask2.png" class="" style="background-color: rgb(204, 204, 204);"></div>
</div><div class=""><div class="" style="font-size:13px"><table cellpadding="0" class=""><tbody><tr class=""><td class="" style="width:630px"><table cellpadding="0" class="" style="width:630px"><tbody><tr><td><div class="">
<span name="Varnau, Steve (Seaquest R&D)" class="" style="font-size:13px">Varnau, Steve (Seaquest R&D)</span></div></td></tr></tbody></table></td><td class=""><div class=""><span id=":2d6" class="" title="Tue, Nov 5, 2013 at 5:03 PM" alt="Tue, Nov 5, 2013 at 5:03 PM">5:03 PM (32 minutes ago)</span><div class="" tabindex="-1" style="outline:0px">
<span class=""><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></span></div></div></td><td class=""></td><td class="" rowspan="2"><div class="" tabindex="0" style><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div>
<div id=":2do" class="" tabindex="0" style><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div></td></tr><tr class=""><td colspan="3"><table cellpadding="0" class="" style="width:816px"><tbody><tr>
<td class=""><div class=""><span class="">to <span dir="ltr" name="me" class="">me</span></span></div><div class=""><img class="" id=":2dp" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div></td></tr>
</tbody></table></td></tr></tbody></table></div><div class=""></div><div class=""></div><div class=""></div><div id=":2ci" tabindex="-1"></div><div id=":2d8" class="" style="font-size:13px"><div id=":2d9" style="overflow:hidden">
<div lang="EN-US" link="blue" vlink="purple"><p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font size="3" color="#1f497d" face="Calibri"><span style="font-size:12pt;font-family:Calibri,sans-serif">Thanks for the response. My config looks the same. So maybe the problem is not in jenkins job builder, but with my plugin?<u></u><u></u></span></font></p>
<p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font size="3" color="#1f497d" face="Calibri"><span style="font-size:12pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></font></p><p class="MsoNormal" style="font-family:'Futura Bk',sans-serif">
<font color="black" face="Courier New"><span style="font-size:10pt"><filePath>logs/$LOG_PATH</filePath><u></u><u></u></span></font></p><p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font color="black" face="Courier New"><span style="font-size:10pt"><sourceFile/><u></u><u></u></span></font></p>
<div class="im"><p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font color="black" face="Courier New"><span style="font-size:10pt"><keepHierarchy>false</keepHierarchy><u></u><u></u></span></font></p>
<p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font color="black" face="Courier New"><span style="font-size:10pt"><copyConsoleLog>true</copyConsoleLog><u></u><u></u></span></font></p>
<p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font color="black" face="Courier New"><span style="font-size:10pt"><copyAfterFailure>true</copyAfterFailure><u></u><u></u></span></font></p>
<p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font size="3" color="#1f497d" face="Calibri"><span style="font-size:12pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></font></p><p class="MsoNormal" style="font-family:'Futura Bk',sans-serif">
<font size="3" color="#1f497d" face="Calibri"><span style="font-size:12pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></font></p></div><p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font color="#1f497d" face="Calibri"><span style="font-size:11pt;font-family:Calibri,sans-serif">-Steve<u></u><u></u></span></font></p>
<p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><font size="3" color="#1f497d" face="Calibri"><span style="font-size:12pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></font></p><div style="border-style:none none none solid;border-left-color:blue;border-left-width:1.5pt;padding:0in 0in 0in 4pt">
<div style="border-style:solid none none;border-top-color:rgb(225,225,225);border-top-width:1pt;padding:3pt 0in 0in"><p class="MsoNormal" style="font-family:'Futura Bk',sans-serif"><b><font face="Calibri"><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></font></b><font face="Calibri"><span style="font-size:11pt;font-family:Calibri,sans-serif"> XINYU ZHAO [mailto:<a href="mailto:xyzjerry@gmail.com" target="_blank">xyzjerry@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, November 05, 2013 16:45<br><b>To:</b> Varnau, Steve (Seaquest R&D)<br><b>Subject:</b> Re: [OpenStack-Infra] JJB console-log publisher<u></u><u></u></span></font></p><div class=""><div id=":2cm" class="" tabindex="0">
<img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" style=""></div></div></div></div></div></div></div><div class=""></div></div><div class=""></div></div><div class="" style="font-size:13px"><div class="">
<div class=""></div></div></div></div></div></div></div><div class="" tabindex="-1" style="font-family:arial,sans-serif;font-size:medium"><div class="" style="width:941px"><div class=""><div id=":2li"><div class=""><div class="">
<div class=""><img id=":0_22-e" name=":0" src="https://plus.google.com/u/0/_/focus/photos/public/AIbEiAIAAABECJaC0vDqqPDnjgEiC3ZjYXJkX3Bob3RvKigyYWI0MjIwMzU0YjE3MDgyMzFjNWNkOTFkY2QzZDM4OGJhZGMzMjA0MAG_s9dHaE8qee62tUJH21v60gq-ag?sz=32" class=""></div>
</div><div class=""><div class="" style="font-size:13px"><table cellpadding="0" class=""><tbody><tr class=""><td class="" style="width:637px"><table cellpadding="0" class="" style="width:637px"><tbody><tr><td><div class="">
<span name="XINYU ZHAO" class="" style="font-size:13px">XINYU ZHAO</span> <span class=""><<a href="mailto:xyzjerry@gmail.com">xyzjerry@gmail.com</a>></span></div></td></tr></tbody></table></td><td class=""><div class="">
<span id=":2lm" class="" title="Tue, Nov 5, 2013 at 5:27 PM" alt="Tue, Nov 5, 2013 at 5:27 PM">5:27 PM (7 minutes ago)</span><div class="" tabindex="-1" style="outline:0px"><span class=""><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></span></div>
</div></td><td class=""></td><td class="" rowspan="2"><div class="" tabindex="0" style><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div><div id=":2jy" class="" tabindex="0" style><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div>
</td></tr><tr class=""><td colspan="3"><table cellpadding="0" class="" style="width:816px"><tbody><tr><td class=""><div class=""><span class="">to <span dir="ltr" name="Steve" class="">Steve</span></span></div><div class="">
<img class="" id=":2jx" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div></td></tr></tbody></table></td></tr></tbody></table></div><div class=""></div><div class=""></div><div class=""></div><div id=":2jw" tabindex="-1">
</div><div id=":2lk" class="" style="font-size:13px"><div id=":2lj" style="overflow:hidden"><div dir="ltr"><div>How did you install the plugin?</div><div>I installed it by uploading the hpi file i built from source code <a href="https://github.com/jenkinsci/scp-plugin" target="_blank">https://github.com/jenkinsci/scp-plugin</a> with maven. the version number is: 1.9</div>
<div class=""><div id=":2jz" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" style=""></div></div></div></div></div><div class=""></div></div><div class=""></div></div><div class="" style="font-size:13px">
<div class=""><div class=""></div></div></div></div></div></div></div><div class="" tabindex="-1" style="font-family:arial,sans-serif;font-size:medium"><div class="" style="width:941px"><div class=""><div id=":2mp"><div class="">
<div class=""><div class=""><img id=":0_25-e" name=":0" src="https://plus.google.com/u/0/_/focus/photos/public/AIbEiAIAAABECJaC0vDqqPDnjgEiC3ZjYXJkX3Bob3RvKigyYWI0MjIwMzU0YjE3MDgyMzFjNWNkOTFkY2QzZDM4OGJhZGMzMjA0MAG_s9dHaE8qee62tUJH21v60gq-ag?sz=32" class=""></div>
</div><div class=""><div class="" style="font-size:13px"><table cellpadding="0" class=""><tbody><tr class=""><td class="" style="width:644px"><table cellpadding="0" class="" style="width:644px"><tbody><tr><td><div class="">
<span name="XINYU ZHAO" class="" style="font-size:13px">XINYU ZHAO</span> <span class=""><<a href="mailto:xyzjerry@gmail.com">xyzjerry@gmail.com</a>></span></div></td></tr></tbody></table></td><td class=""><div class="">
<span id=":2mt" class="" title="Tue, Nov 5, 2013 at 5:32 PM" alt="Tue, Nov 5, 2013 at 5:32 PM">5:32 PM (2 minutes ago)</span><div class="" tabindex="-1" style="outline:0px"><span class=""><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></span></div>
</div></td><td class=""></td><td class="" rowspan="2"><div class="" title="Reply" tabindex="0"><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div><div id=":2n7" class="" title="More" tabindex="0">
<img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div></td></tr><tr class=""><td colspan="3"><table cellpadding="0" class="" style="width:816px"><tbody><tr><td class=""><div class=""><span class="">to <span dir="ltr" name="Steve" class="">Steve</span></span></div>
<div class=""><img class="" id=":2n6" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div></td></tr></tbody></table></td></tr></tbody></table></div><div class=""></div><div class=""></div><div class="">
</div><div id=":2n5" tabindex="-1"></div><div id=":2mr" class="" style="font-size:13px"><div id=":2mq" style="overflow:hidden"><div dir="ltr"><a href="https://github.com/jenkinsci/scp-plugin/commits/master" target="_blank">https://github.com/jenkinsci/scp-plugin/commits/master</a> <br>
<div>From the commits history, you can see jeblair and clarkb add some features for openstack-infra, including copying console log, which are not in tagged 1.8 release. </div><div class=""><div id=":2n8" class="" tabindex="0">
<img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif" style=""></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Nov 5, 2013 at 4:14 PM, Varnau, Steve (Seaquest R&D) <span dir="ltr"><<a href="mailto:steve.varnau@hp.com" target="_blank">steve.varnau@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Calibri" size="3"><span style="font-size:12pt">
<div>Hi Infra Team,</div>
<div> </div>
<div>I’m working on setting up an instance of OpenStack-Infra, as several of you know since you’ve helped me on key problems!</div>
<div> </div>
<div>I’m currently stumped on using a jenkins job builder publisher. If I can figure out how it works for OpenStack, I should be able to fix my problem.</div>
<div><font><span style="font-size:11pt"> </span></font></div>
<div>The <b>console-log</b> macro in openstack-infra/config/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml</div>
<div>I think I see in JJB how it passes parameters and options to the Jenkins SCP Plugin. I just don’t understand how the copy-console option works. Since the plugin does not have an option for copying console. For me, the option is just ignored and since
there is an empty string in the source parameter, it tries to copy everything in the workspace instead of the console output.</div>
<div><font><span style="font-size:11pt"> </span></font></div>
<div>Thanks,</div>
<div><font><span style="font-size:11pt">-Steve</span></font></div>
<div><font><span style="font-size:11pt"> </span></font></div>
<div><font><span style="font-size:11pt"> </span></font></div>
<div><font><span style="font-size:11pt"> </span></font></div>
</span></font>
</div>
<br>_______________________________________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><br>
<br></blockquote></div><br></div>