<p>George Joseph <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/10416">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved; Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jenkins: Fix cleanup command redirection.<br><br>Fix redirection to /dev/null of cleanup commands.  The '2' was being<br>interpreted as part of the command instead of part of the redirect.<br><br>Change-Id: I2e3a591b165e0288c4b82b9ef475fdfd5392a90a<br>---<br>M tests/CI/gates.jenkinsfile<br>M tests/CI/periodics-daily.jenkinsfile<br>M tests/CI/ref_debug.jenkinsfile<br>M tests/CI/unittests.jenkinsfile<br>4 files changed, 8 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile</span><br><span>index 1f161d7..e119f3c 100644</span><br><span>--- a/tests/CI/gates.jenkinsfile</span><br><span>+++ b/tests/CI/gates.jenkinsfile</span><br><span>@@ -215,8 +215,8 @@</span><br><span>  }</span><br><span>    post {</span><br><span>               cleanup {</span><br><span style="color: hsl(0, 100%, 40%);">-                       sh "sudo make distclean 2&>/dev/null || : "</span><br><span style="color: hsl(0, 100%, 40%);">-                    sh "sudo rm -rf tests/CI/output  2&>/dev/null || : "</span><br><span style="color: hsl(120, 100%, 40%);">+                 sh "sudo make distclean >/dev/null 2>&1 || : "</span><br><span style="color: hsl(120, 100%, 40%);">+                    sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "</span><br><span>           }</span><br><span>            /*</span><br><span>            * The Gerrit Trigger will automatically post the "Verified" results back</span><br><span>diff --git a/tests/CI/periodics-daily.jenkinsfile b/tests/CI/periodics-daily.jenkinsfile</span><br><span>index 8c97379..3f3b7ab 100644</span><br><span>--- a/tests/CI/periodics-daily.jenkinsfile</span><br><span>+++ b/tests/CI/periodics-daily.jenkinsfile</span><br><span>@@ -140,8 +140,8 @@</span><br><span>       }</span><br><span>    post {</span><br><span>               cleanup {</span><br><span style="color: hsl(0, 100%, 40%);">-                       sh "sudo make distclean 2&>/dev/null || : "</span><br><span style="color: hsl(0, 100%, 40%);">-                    sh "sudo rm -rf tests/CI/output  2&>/dev/null || : "</span><br><span style="color: hsl(120, 100%, 40%);">+                 sh "sudo make distclean >/dev/null 2>&1 || : "</span><br><span style="color: hsl(120, 100%, 40%);">+                    sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "</span><br><span>           }</span><br><span>            success {</span><br><span>                    echo "Reporting ${currentBuild.currentResult} Passed"</span><br><span>diff --git a/tests/CI/ref_debug.jenkinsfile b/tests/CI/ref_debug.jenkinsfile</span><br><span>index 1fa8688..d9871d3 100644</span><br><span>--- a/tests/CI/ref_debug.jenkinsfile</span><br><span>+++ b/tests/CI/ref_debug.jenkinsfile</span><br><span>@@ -115,8 +115,8 @@</span><br><span>   }</span><br><span>    post {</span><br><span>               cleanup {</span><br><span style="color: hsl(0, 100%, 40%);">-                       sh "sudo make distclean 2&>/dev/null || : "</span><br><span style="color: hsl(0, 100%, 40%);">-                    sh "sudo rm -rf tests/CI/output  2&>/dev/null || : "</span><br><span style="color: hsl(120, 100%, 40%);">+                 sh "sudo make distclean >/dev/null 2>&1 || : "</span><br><span style="color: hsl(120, 100%, 40%);">+                    sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "</span><br><span>           }</span><br><span>            success {</span><br><span>                    echo "Reporting ${currentBuild.currentResult} Passed"</span><br><span>diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile</span><br><span>index 8cf9f4a..ed937f2 100644</span><br><span>--- a/tests/CI/unittests.jenkinsfile</span><br><span>+++ b/tests/CI/unittests.jenkinsfile</span><br><span>@@ -169,8 +169,8 @@</span><br><span>   }</span><br><span>    post {</span><br><span>               cleanup {</span><br><span style="color: hsl(0, 100%, 40%);">-                       sh "sudo make distclean 2&>/dev/null || : "</span><br><span style="color: hsl(0, 100%, 40%);">-                    sh "sudo rm -rf tests/CI/output 2&>/dev/null || : "</span><br><span style="color: hsl(120, 100%, 40%);">+                  sh "sudo make distclean >/dev/null 2>&1 || : "</span><br><span style="color: hsl(120, 100%, 40%);">+                    sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "</span><br><span>           }</span><br><span>            /*</span><br><span>            * The Gerrit Trigger will automatically post the "Verified" results back</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10416">change 10416</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10416"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I2e3a591b165e0288c4b82b9ef475fdfd5392a90a </div>
<div style="display:none"> Gerrit-Change-Number: 10416 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>