<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9914">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CI: Fixup for non-13 branches<br><br>Change-Id: I5e1d4a09e58b92b541bc8ed6f9e10e54c4e5101f<br>---<br>M tests/CI/unittests.jenkinsfile<br>1 file changed, 5 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/14/9914/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile</span><br><span>index 332975c..8cf9f4a 100644</span><br><span>--- a/tests/CI/unittests.jenkinsfile</span><br><span>+++ b/tests/CI/unittests.jenkinsfile</span><br><span>@@ -69,7 +69,6 @@</span><br><span> stage ("Checkout") {</span><br><span> sh "sudo chown -R jenkins:users ."</span><br><span> env.GERRIT_PROJECT_URL = env.GERRIT_CHANGE_URL.replaceAll(/\/[0-9]+$/, "/${env.GERRIT_PROJECT}")</span><br><span style="color: hsl(0, 100%, 40%);">- sh "printenv | sort"</span><br><span> </span><br><span> /*</span><br><span> * Jenkins has already automatically checked out the base branch</span><br><span>@@ -84,8 +83,10 @@</span><br><span> * We need to retrieve the jenkins2 gerrit https credentials</span><br><span> * in case this review is in a restricted project.</span><br><span> */</span><br><span style="color: hsl(0, 100%, 40%);">- withCredentials([usernamePassword(credentialsId: env.JENKINS_GERRIT_CREDS,</span><br><span style="color: hsl(0, 100%, 40%);">- usernameVariable: 'gerrit_user')]) {</span><br><span style="color: hsl(120, 100%, 40%);">+ withCredentials([usernamePassword(credentialsId: "${JENKINS_GERRIT_CREDS}",</span><br><span style="color: hsl(120, 100%, 40%);">+ passwordVariable: 'GERRIT_USER_PW', usernameVariable: 'GERRIT_USER_NAME')]) {</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ sh "printenv | sort"</span><br><span> </span><br><span> checkout scm: [$class: 'GitSCM',</span><br><span> branches: [[name: env.GERRIT_BRANCH ]],</span><br><span>@@ -113,7 +114,7 @@</span><br><span> credentialsId: env.JENKINS_GERRIT_CREDS,</span><br><span> name: env.GERRIT_NAME,</span><br><span> refspec: env.GERRIT_REFSPEC,</span><br><span style="color: hsl(0, 100%, 40%);">- url: env.GERRIT_PROJECT_URL.replaceAll("http(s)?://", "http\$1://${gerrit_user}@")</span><br><span style="color: hsl(120, 100%, 40%);">+ url: env.GERRIT_PROJECT_URL.replaceAll("http(s)?://", "http\$1://${GERRIT_USER_NAME}@")</span><br><span> ]</span><br><span> ]</span><br><span> ]</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9914">change 9914</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/9914"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I5e1d4a09e58b92b541bc8ed6f9e10e54c4e5101f </div>
<div style="display:none"> Gerrit-Change-Number: 9914 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>