CI: Fix log artifact paths

Change-Id: I55136de8f4d9c3b56bd4d054306a187bb04a4b7d
This commit is contained in:
George Joseph 2018-07-11 13:54:04 -06:00
parent 4842af6364
commit ad36c4ba9b
2 changed files with 7 additions and 2 deletions

View File

@ -132,6 +132,8 @@ pipeline {
sh 'sudo ./tests/CI/installAsterisk.sh'
}
sh "sudo rm -rf ${groupDir} || : "
checkout scm: [$class: 'GitSCM',
branches: [[name: "${BRANCH_NAME}"]],
extensions: [
@ -149,9 +151,9 @@ pipeline {
sh "tests/CI/runTestsuite.sh --testsuite-dir='${groupDir}' --test-command='${groupTestcmd}'"
archiveArtifacts allowEmptyArchive: true, defaultExcludes: false, fingerprint: true,
artifacts: "${groupDir}**"
artifacts: "${groupDir}/asterisk-test-suite-report.xml, ${groupDir}/logs/**, ${groupDir}/core*.txt"
junit testResults: "${groupDir}",
junit testResults: "${groupDir}/asterisk-test-suite-report.xml",
healthScaleFactor: 1.0,
keepLongStdio: true
}

View File

@ -5,6 +5,9 @@ ASTETCDIR=$DESTDIR/etc/asterisk
pushd $TESTSUITE_DIR
sudo ./cleanup-test-temnants.sh
sudo chown -R jenkins:users .
runner sudo PYTHONPATH=./lib/python/ ./runtests.py --cleanup ${TEST_COMMAND} || :
if [ -f asterisk-test-suite-report.xml ] ; then