Jenkinsfile fixes

This commit is contained in:
Juan Ferrer 2019-02-15 13:32:07 +01:00
parent 34ace7f5d4
commit 9a8f418c7b
1 changed files with 6 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -136,8 +136,12 @@ pipeline {
always { always {
script { script {
if (env.BRANCH_NAME == 'dev') { if (env.BRANCH_NAME == 'dev') {
try {
junit '*/junitresults.xml' junit '*/junitresults.xml'
junit 'junitresults.xml' junit 'junitresults.xml'
} catch (e) {
echo e.toString()
}
} }
if (!env.GIT_COMMITTER_EMAIL) return if (!env.GIT_COMMITTER_EMAIL) return