Skip to content

Commit

Permalink
[kvm] Fix KVM results archival (sonic-net#150)
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Allen <daall@microsoft.com>
  • Loading branch information
daall authored Aug 14, 2020
1 parent bcfc3c0 commit a9c9022
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jenkins/mgmt/sonic-mgmt-canary/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pipeline {

post {
always {
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
}

Expand Down
2 changes: 1 addition & 1 deletion jenkins/mgmt/sonic-mgmt-pr/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pipeline {

post {
always {
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
}

Expand Down
2 changes: 1 addition & 1 deletion jenkins/vs/buildimage-vs-image-201911-test/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pipeline {

post {
always {
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
}

Expand Down
4 changes: 2 additions & 2 deletions jenkins/vs/buildimage-vs-image-pr/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ sudo cp ../target/sonic-vs.bin /nfs/jenkins/sonic-vs-${JOB_NAME##*/}.${BUILD_NUM

post {
always {
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
archiveArtifacts(artifacts: 'target/**, sonic-mgmt/tests/logs/**')
}

failure {
Expand Down
4 changes: 2 additions & 2 deletions jenkins/vs/buildimage-vs-image/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ sudo cp ../target/sonic-vs-dbg.bin /nfs/jenkins/sonic-vs-dbg-${JOB_NAME##*/}.${B

post {
always {
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
archiveArtifacts(artifacts: 'target/**, sonic-mgmt/tests/logs/**')
}

failure {
Expand Down
1 change: 1 addition & 0 deletions scripts/vs/buildimage-vs-image/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ PYTEST_CLI_COMMON_OPTS="\
-l warning \
-m individual \
-q 1 \
-a False \
-e --disable_loganalyzer"

cd /data/sonic-mgmt/tests
Expand Down

0 comments on commit a9c9022

Please sign in to comment.