Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 5d3cefc

Browse files
travis1111josephca
authored andcommitted
junit test (#120)
Signed-off-by: tiaoyuw <tiaoyuw@ca.ibm.com>
1 parent 95467b3 commit 5d3cefc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ pipeline {
3535
stage('Test') {
3636
steps {
3737
script {
38+
try {
3839
sh '''#!/usr/bin/env bash
3940
docker build --no-cache -t test-image ./dev
4041
export CWD=$(pwd)
@@ -43,6 +44,9 @@ pipeline {
4344
4445
rm $WORKSPACE/dev/ant_build/artifacts/codewind-openapi-eclipse-test-*.zip
4546
'''
47+
} finally {
48+
junit 'dev/junit-results.xml'
49+
}
4650
dir('dev') {
4751
stash name: 'codewind-openapi-eclipse-zip', includes: 'ant_build/artifacts/codewind-openapi-eclipse-*.zip'
4852
}

0 commit comments

Comments
 (0)