From d109242bc021f086eadbba679d00863a917e9c77 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 18 Jun 2019 20:41:10 +1000 Subject: [PATCH] store autobahn results as they are not stored automatically by junitPublisher (#3792) Signed-off-by: olivier lamy --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 466a6782420..5b235f4d452 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ pipeline { agent { node { label 'linux' } } options { timeout(time: 120, unit: 'MINUTES') } steps { - mavenBuild("jdk11", "-Pautobahn -Pmongodb install", "maven3", false) + mavenBuild("jdk11", "-Pautobahn -Pmongodb install", "maven3", true) // Collect up the jacoco execution results (only on main build) jacoco inclusionPattern: '**/org/eclipse/jetty/**/*.class', exclusionPattern: '' + @@ -35,6 +35,7 @@ pipeline { execPattern: '**/target/jacoco.exec', classPattern: '**/target/classes', sourcePattern: '**/src/main/java' + junit testResults: '**/target/surefire-reports/*.xml,**/target/autobahntestsuite-reports/*.xml' warnings consoleParsers: [[parserName: 'Maven'], [parserName: 'Java']] maven_invoker reportsFilenamePattern: "**/target/invoker-reports/BUILD*.xml", invokerBuildDir: "**/target/it" } @@ -44,7 +45,7 @@ pipeline { agent { node { label 'linux' } } options { timeout(time: 120, unit: 'MINUTES') } steps { - mavenBuild("jdk12", "-Pmongodb install", "maven3", false) + mavenBuild("jdk12", "-Pmongodb install", "maven3", true) warnings consoleParsers: [[parserName: 'Maven'], [parserName: 'Java']] maven_invoker reportsFilenamePattern: "**/target/invoker-reports/BUILD*.xml", invokerBuildDir: "**/target/it" }