mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
CI: Fix log artifact paths
Change-Id: I55136de8f4d9c3b56bd4d054306a187bb04a4b7d
This commit is contained in:
@@ -132,6 +132,8 @@ pipeline {
|
|||||||
sh 'sudo ./tests/CI/installAsterisk.sh'
|
sh 'sudo ./tests/CI/installAsterisk.sh'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sh "sudo rm -rf ${groupDir} || : "
|
||||||
|
|
||||||
checkout scm: [$class: 'GitSCM',
|
checkout scm: [$class: 'GitSCM',
|
||||||
branches: [[name: "${BRANCH_NAME}"]],
|
branches: [[name: "${BRANCH_NAME}"]],
|
||||||
extensions: [
|
extensions: [
|
||||||
@@ -149,9 +151,9 @@ pipeline {
|
|||||||
sh "tests/CI/runTestsuite.sh --testsuite-dir='${groupDir}' --test-command='${groupTestcmd}'"
|
sh "tests/CI/runTestsuite.sh --testsuite-dir='${groupDir}' --test-command='${groupTestcmd}'"
|
||||||
|
|
||||||
archiveArtifacts allowEmptyArchive: true, defaultExcludes: false, fingerprint: true,
|
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,
|
healthScaleFactor: 1.0,
|
||||||
keepLongStdio: true
|
keepLongStdio: true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ ASTETCDIR=$DESTDIR/etc/asterisk
|
|||||||
|
|
||||||
pushd $TESTSUITE_DIR
|
pushd $TESTSUITE_DIR
|
||||||
|
|
||||||
|
sudo ./cleanup-test-temnants.sh
|
||||||
|
sudo chown -R jenkins:users .
|
||||||
|
|
||||||
runner sudo PYTHONPATH=./lib/python/ ./runtests.py --cleanup ${TEST_COMMAND} || :
|
runner sudo PYTHONPATH=./lib/python/ ./runtests.py --cleanup ${TEST_COMMAND} || :
|
||||||
|
|
||||||
if [ -f asterisk-test-suite-report.xml ] ; then
|
if [ -f asterisk-test-suite-report.xml ] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user