<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9904">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CI: Yet Another stab at creds<br><br>Change-Id: I768850780d39151c5dd8e2bb1a4b24776727958e<br>---<br>M tests/CI/unittests.jenkinsfile<br>1 file changed, 3 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/04/9904/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 4af9153..8cf9f4a 100644</span><br><span>--- a/tests/CI/unittests.jenkinsfile</span><br><span>+++ b/tests/CI/unittests.jenkinsfile</span><br><span>@@ -83,8 +83,8 @@</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_NAME')]) {</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> </span><br><span>                                                    sh "printenv | sort"</span><br><span> </span><br><span>@@ -114,12 +114,11 @@</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</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><span style="color: hsl(0, 100%, 40%);">-//                                             url: env.GERRIT_PROJECT_URL.replaceAll("http(s)?://", "http\$1://${env.GERRIT_USER_NAME}@")</span><br><span> </span><br><span>                                          sh "sudo tests/CI/setupJenkinsEnvironment.sh"</span><br><span>                                      }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9904">change 9904</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/9904"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I768850780d39151c5dd8e2bb1a4b24776727958e </div>
<div style="display:none"> Gerrit-Change-Number: 9904 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>