<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9421">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CI: Fix log artifact paths<br><br>Change-Id: I55136de8f4d9c3b56bd4d054306a187bb04a4b7d<br>---<br>M tests/CI/gates.jenkinsfile<br>M tests/CI/runTestsuite.sh<br>2 files changed, 7 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/21/9421/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 9ce14ef..40c7916 100644</span><br><span>--- a/tests/CI/gates.jenkinsfile</span><br><span>+++ b/tests/CI/gates.jenkinsfile</span><br><span>@@ -132,6 +132,8 @@</span><br><span> sh 'sudo ./tests/CI/installAsterisk.sh'</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ sh "sudo rm -rf ${groupDir} || : "</span><br><span style="color: hsl(120, 100%, 40%);">+ </span><br><span> checkout scm: [$class: 'GitSCM',</span><br><span> branches: [[name: "${BRANCH_NAME}"]],</span><br><span> extensions: [</span><br><span>@@ -149,9 +151,9 @@</span><br><span> sh "tests/CI/runTestsuite.sh --testsuite-dir='${groupDir}' --test-command='${groupTestcmd}'"</span><br><span> </span><br><span> archiveArtifacts allowEmptyArchive: true, defaultExcludes: false, fingerprint: true,</span><br><span style="color: hsl(0, 100%, 40%);">- artifacts: "${groupDir}**"</span><br><span style="color: hsl(120, 100%, 40%);">+ artifacts: "${groupDir}/asterisk-test-suite-report.xml, ${groupDir}/logs/**, ${groupDir}/core*.txt"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- junit testResults: "${groupDir}",</span><br><span style="color: hsl(120, 100%, 40%);">+ junit testResults: "${groupDir}/asterisk-test-suite-report.xml",</span><br><span> healthScaleFactor: 1.0,</span><br><span> keepLongStdio: true</span><br><span> }</span><br><span>diff --git a/tests/CI/runTestsuite.sh b/tests/CI/runTestsuite.sh</span><br><span>index 26b0934..a84a12c 100755</span><br><span>--- a/tests/CI/runTestsuite.sh</span><br><span>+++ b/tests/CI/runTestsuite.sh</span><br><span>@@ -5,6 +5,9 @@</span><br><span> </span><br><span> pushd $TESTSUITE_DIR</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+sudo ./cleanup-test-temnants.sh</span><br><span style="color: hsl(120, 100%, 40%);">+sudo chown -R jenkins:users .</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> runner sudo PYTHONPATH=./lib/python/ ./runtests.py --cleanup ${TEST_COMMAND} || :</span><br><span> </span><br><span> if [ -f asterisk-test-suite-report.xml ] ; then</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9421">change 9421</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/9421"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: certified/13.21 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I55136de8f4d9c3b56bd4d054306a187bb04a4b7d </div>
<div style="display:none"> Gerrit-Change-Number: 9421 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>