use step declarative

Signed-off-by: olivier lamy <olamy@webtide.com>
This commit is contained in:
olivier lamy 2018-02-13 16:08:22 +10:00
parent a34a17bbf2
commit 9437732be9
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -68,8 +68,7 @@ def getFullBuild(jdk, os) {
// Run test phase / ignore test failures
sh "mvn -V -B install -Dmaven.test.failure.ignore=true -Prun-its"
// Report failures in the jenkins UI
step([$class: 'JUnitResultArchiver',
testResults: '**/target/surefire-reports/TEST-*.xml'])
junit testResults:'**/target/surefire-reports/TEST-*.xml'
// Collect up the jacoco execution results
def jacocoExcludes =
// build tools