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" }