Skip to content

Commit 16fc56e

Browse files
committed
Учитываю junit-результаты 1bdd
Учитываю, что файлов junit может не быть
1 parent be52b13 commit 16fc56e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ pipeline {
1717
script {
1818
if( fileExists ('tasks/test.os') ){
1919
bat 'chcp 65001 > nul && oscript tasks/test.os'
20-
junit 'tests.xml'
20+
21+
junit allowEmptyResults: true, testResults: 'tests.xml'
22+
junit allowEmptyResults: true, testResults: 'bdd-log.xml'
2123
}
2224
else
2325
echo 'no testing task'

0 commit comments

Comments
 (0)