mirror of https://github.com/apache/maven.git
Jenkinsfile: pickup results from ITs - 3.9.x (#952)
This commit is contained in:
parent
4e8773bc44
commit
b5575f5c82
|
@ -56,11 +56,11 @@ node(jenkinsEnv.nodeSelection(osNode)) {
|
|||
sh "mvn clean ${MAVEN_GOAL} -B -U -e -fae -V -Dmaven.test.failure.ignore -PversionlessMavenDist -Dmaven.repo.local=${WORK_DIR}/.repository"
|
||||
}
|
||||
} finally {
|
||||
junit testResults: '**/target/surefire-reports/*.xml', allowEmptyResults: true
|
||||
junit testResults: '**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml', allowEmptyResults: true
|
||||
}
|
||||
dir ('apache-maven/target') {
|
||||
stash includes: 'apache-maven-bin.zip', name: 'maven-dist'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -111,7 +111,9 @@ for (String os in runITsOses) {
|
|||
}
|
||||
}
|
||||
} finally {
|
||||
//junit testResults: '**/core-it-suite/**/target/surefire-reports/*.xml', allowEmptyResults: true
|
||||
// in ITs test we need only reports from test itself
|
||||
// test projects can contain reports with tested failed builds
|
||||
junit testResults: '**/core-it-suite/target/surefire-reports/*.xml,**/core-it-support/**/target/surefire-reports/*.xml', allowEmptyResults: true
|
||||
archiveDirs(stageId, ['core-it-suite-logs':'core-it-suite/target/test-classes',
|
||||
'core-it-suite-reports':'core-it-suite/target/surefire-reports'])
|
||||
deleteDir() // clean up after ourselves to reduce disk space
|
||||
|
|
Loading…
Reference in New Issue