<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13227">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CI: Fix missing script block in jenkinsfiles<br><br>Change-Id: I9f44a3d5085ea7880fad1a3883a4820907e29ea3<br>---<br>M tests/CI/gates.jenkinsfile<br>M tests/CI/periodics-daily.jenkinsfile<br>M tests/CI/ref_debug.jenkinsfile<br>3 files changed, 12 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/27/13227/1</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 284b0fe..e52d3a4 100644</span><br><span>--- a/tests/CI/gates.jenkinsfile</span><br><span>+++ b/tests/CI/gates.jenkinsfile</span><br><span>@@ -240,8 +240,10 @@</span><br><span>  }</span><br><span>    post {</span><br><span>               cleanup {</span><br><span style="color: hsl(0, 100%, 40%);">-                       if (env.CLEANUP_WS_GATES.toBoolean()) {</span><br><span style="color: hsl(0, 100%, 40%);">-                         cleanWs deleteDirs: true, notFailBuild: false</span><br><span style="color: hsl(120, 100%, 40%);">+                 script {</span><br><span style="color: hsl(120, 100%, 40%);">+                              if (env.CLEANUP_WS_GATES.toBoolean()) {</span><br><span style="color: hsl(120, 100%, 40%);">+                                       cleanWs deleteDirs: true, notFailBuild: false</span><br><span style="color: hsl(120, 100%, 40%);">+                         }</span><br><span>                    }</span><br><span>            }</span><br><span>            /*</span><br><span>diff --git a/tests/CI/periodics-daily.jenkinsfile b/tests/CI/periodics-daily.jenkinsfile</span><br><span>index 4934c12..11e9ed3 100644</span><br><span>--- a/tests/CI/periodics-daily.jenkinsfile</span><br><span>+++ b/tests/CI/periodics-daily.jenkinsfile</span><br><span>@@ -159,8 +159,10 @@</span><br><span>       }</span><br><span>    post {</span><br><span>               cleanup {</span><br><span style="color: hsl(0, 100%, 40%);">-                       if (env.CLEANUP_WS_DAILIES.toBoolean()) {</span><br><span style="color: hsl(0, 100%, 40%);">-                               cleanWs deleteDirs: true, notFailBuild: false</span><br><span style="color: hsl(120, 100%, 40%);">+                 script {</span><br><span style="color: hsl(120, 100%, 40%);">+                              if (env.CLEANUP_WS_DAILIES.toBoolean()) {</span><br><span style="color: hsl(120, 100%, 40%);">+                                     cleanWs deleteDirs: true, notFailBuild: false</span><br><span style="color: hsl(120, 100%, 40%);">+                         }</span><br><span>                    }</span><br><span>            }</span><br><span>            success {</span><br><span>diff --git a/tests/CI/ref_debug.jenkinsfile b/tests/CI/ref_debug.jenkinsfile</span><br><span>index a2bfdba..31fc85d 100644</span><br><span>--- a/tests/CI/ref_debug.jenkinsfile</span><br><span>+++ b/tests/CI/ref_debug.jenkinsfile</span><br><span>@@ -129,8 +129,10 @@</span><br><span>        }</span><br><span>    post {</span><br><span>               cleanup {</span><br><span style="color: hsl(0, 100%, 40%);">-                       if (env.CLEANUP_WS_REF_DEBUG.toBoolean()) {</span><br><span style="color: hsl(0, 100%, 40%);">-                             cleanWs deleteDirs: true, notFailBuild: false</span><br><span style="color: hsl(120, 100%, 40%);">+                 script {</span><br><span style="color: hsl(120, 100%, 40%);">+                              if (env.CLEANUP_WS_REF_DEBUG.toBoolean()) {</span><br><span style="color: hsl(120, 100%, 40%);">+                                   cleanWs deleteDirs: true, notFailBuild: false</span><br><span style="color: hsl(120, 100%, 40%);">+                         }</span><br><span>                    }</span><br><span>            }</span><br><span>            success {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13227">change 13227</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/c/asterisk/+/13227"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: I9f44a3d5085ea7880fad1a3883a4820907e29ea3 </div>
<div style="display:none"> Gerrit-Change-Number: 13227 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>