Skip to content

Commit a9c9022

Browse files
authored
[kvm] Fix KVM results archival (sonic-net#150)
Signed-off-by: Danny Allen <[email protected]>
1 parent bcfc3c0 commit a9c9022

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

jenkins/mgmt/sonic-mgmt-canary/Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pipeline {
3939

4040
post {
4141
always {
42-
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
42+
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
4343
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
4444
}
4545

jenkins/mgmt/sonic-mgmt-pr/Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pipeline {
3636

3737
post {
3838
always {
39-
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
39+
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
4040
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
4141
}
4242

jenkins/vs/buildimage-vs-image-201911-test/Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pipeline {
6363

6464
post {
6565
always {
66-
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
66+
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
6767
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
6868
}
6969

jenkins/vs/buildimage-vs-image-pr/Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ sudo cp ../target/sonic-vs.bin /nfs/jenkins/sonic-vs-${JOB_NAME##*/}.${BUILD_NUM
8686

8787
post {
8888
always {
89-
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
90-
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
89+
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
90+
archiveArtifacts(artifacts: 'target/**, sonic-mgmt/tests/logs/**')
9191
}
9292

9393
failure {

jenkins/vs/buildimage-vs-image/Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ sudo cp ../target/sonic-vs-dbg.bin /nfs/jenkins/sonic-vs-dbg-${JOB_NAME##*/}.${B
100100

101101
post {
102102
always {
103-
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/tr.xml')
104-
archiveArtifacts(artifacts: 'sonic-mgmt/tests/logs/**')
103+
junit(allowEmptyResults: true, keepLongStdio: true, testResults: 'sonic-mgmt/tests/logs/**/*.xml')
104+
archiveArtifacts(artifacts: 'target/**, sonic-mgmt/tests/logs/**')
105105
}
106106

107107
failure {

scripts/vs/buildimage-vs-image/runtest.sh

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ PYTEST_CLI_COMMON_OPTS="\
3333
-l warning \
3434
-m individual \
3535
-q 1 \
36+
-a False \
3637
-e --disable_loganalyzer"
3738

3839
cd /data/sonic-mgmt/tests

0 commit comments

Comments
 (0)