Skip to content

Commit f2920a9

Browse files
committed
always collect test results
1 parent 0ba5bcd commit f2920a9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Jenkinsfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@ pipeline {
99
stage('build') {
1010
steps {
1111
withPythonEnv(pythonInstallation: 'Windows-CPython-36') {
12-
pybat(script: 'setup.py test --addopts --junit-xml=tests.xml', returnStatus: true)
12+
pybat(script: 'setup.py test --addopts --junit-xml=tests.xml')
1313
}
1414

15-
junit 'tests.xml'
1615
}
1716
}
1817
}
19-
}
18+
post {
19+
always {
20+
junit 'tests.xml'
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)