<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Mattia Rizzolo pushed to branch master
at <a href="https://salsa.debian.org/qa/jenkins.debian.net">Debian QA / jenkins.debian.net</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://salsa.debian.org/qa/jenkins.debian.net/commit/383304aa5d479da7f555967c7e70978423e673d6">383304aa</a></strong>
<div>
<span>by Mattia Rizzolo</span>
<i>at 2018-05-29T22:17:44+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">update_jdn: fix syntax: execute the .py, don't just read it…
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#6ff6282ac74cc7287e3dd50fb4425669c13e79fc">
update_jdn.sh
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="6ff6282ac74cc7287e3dd50fb4425669c13e79fc">
<a href="https://salsa.debian.org/qa/jenkins.debian.net/commit/383304aa5d479da7f555967c7e70978423e673d6#6ff6282ac74cc7287e3dd50fb4425669c13e79fc"><strong>update_jdn.sh</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 12px;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="675" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="675" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -675,7 +675,7 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="675" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
675
</td>
<td class="diff-line-num new_line" data-linenumber="675" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
675
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC675" class="line" lang="shell"> <span class="nb" style="color: #0086b3;">cd</span> /srv/jenkins/job-cfg</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="676" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
676
</td>
<td class="diff-line-num new_line" data-linenumber="676" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
676
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC676" class="line" lang="shell"> <span class="k" style="font-weight: 600;">for </span>metaconfig <span class="k" style="font-weight: 600;">in</span> <span class="k" style="font-weight: 600;">*</span>.yaml.py <span class="p">;</span> <span class="k" style="font-weight: 600;">do</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="677" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
677
</td>
<td class="diff-line-num new_line" data-linenumber="677" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
677
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC677" class="line" lang="shell"><span class="k" style="font-weight: 600;"> </span><span class="nv" style="color: teal;">TMPFILE</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">sudo</span> <span class="nt" style="color: navy;">-u</span> jenkins-adm <span class="nb" style="color: #0086b3;">mktemp</span><span class="k" style="font-weight: 600;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="678" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
678
</td>
<td class="diff-line-num new_line old" data-linenumber="678" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC678" class="line" lang="shell"> <span class="nb" style="color: #0086b3;"><span class="idiff left">sudo</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff">-u</span></span><span class="idiff"> jenkins-adm </span><span class="nb" style="color: #0086b3;"><span class="idiff">tee</span></span><span class="idiff"> </span><span class="s2" style="color: #d14;"><span class="idiff">"</span></span><span class="nv" style="color: teal;"><span class="idiff">$TMPFILE</span></span><span class="s2" style="color: #d14;"><span class="idiff">"</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">></span></span><span class="idiff">/dev/null < ./</span><span class="nv" style="color: teal;"><span class="idiff right">$metaconfig</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="679" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="678" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
678
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC678" class="line" lang="shell"> <span class="idiff left">./</span><span class="nv" style="color: teal;"><span class="idiff">$metaconfig</span></span><span class="idiff"> | </span><span class="nb" style="color: #0086b3;"><span class="idiff">sudo</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff">-u</span></span><span class="idiff"> jenkins-adm </span><span class="nb" style="color: #0086b3;"><span class="idiff">tee</span></span><span class="idiff"> </span><span class="s2" style="color: #d14;"><span class="idiff">"</span></span><span class="nv" style="color: teal;"><span class="idiff">$TMPFILE</span></span><span class="s2" style="color: #d14;"><span class="idiff">"</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">></span></span><span class="idiff right">/dev/null</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="679" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
679
</td>
<td class="diff-line-num new_line" data-linenumber="679" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
679
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC679" class="line" lang="shell"> <span class="k" style="font-weight: 600;">if</span> <span class="o" style="font-weight: 600;">!</span> <span class="nb" style="color: #0086b3;">sudo</span> <span class="nt" style="color: navy;">-u</span> jenkins-adm cmp <span class="nt" style="color: navy;">-s</span> <span class="k" style="font-weight: 600;">${</span><span class="nv" style="color: teal;">metaconfig</span><span class="p">%.py</span><span class="k" style="font-weight: 600;">}</span> <span class="s2" style="color: #d14;">"</span><span class="nv" style="color: teal;">$TMPFILE</span><span class="s2" style="color: #d14;">"</span> <span class="p">;</span> <span class="k" style="font-weight: 600;">then</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="680" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
680
</td>
<td class="diff-line-num new_line" data-linenumber="680" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
680
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC680" class="line" lang="shell"><span class="k" style="font-weight: 600;"> </span><span class="nb" style="color: #0086b3;">sudo</span> <span class="nt" style="color: navy;">-u</span> jenkins-adm <span class="nb" style="color: #0086b3;">mv</span> <span class="s2" style="color: #d14;">"</span><span class="nv" style="color: teal;">$TMPFILE</span><span class="s2" style="color: #d14;">"</span> <span class="s2" style="color: #d14;">"</span><span class="k" style="font-weight: 600;">${</span><span class="nv" style="color: teal;">metaconfig</span><span class="p">%.py</span><span class="k" style="font-weight: 600;">}</span><span class="s2" style="color: #d14;">"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="681" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
681
</td>
<td class="diff-line-num new_line" data-linenumber="681" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
681
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC681" class="line" lang="shell"> <span class="k" style="font-weight: 600;">fi</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
<a href="https://salsa.debian.org/qa/jenkins.debian.net/commit/383304aa5d479da7f555967c7e70978423e673d6">View it on GitLab</a>.
<br>
You're receiving this email because of your account on salsa.debian.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://salsa.debian.org/qa/jenkins.debian.net/commit/383304aa5d479da7f555967c7e70978423e673d6"}}</script>
</p>
</div>
</body>
</html>