Skip to content

Commit

Permalink
Merge branch '2.0.x' into 3.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
olamy committed May 16, 2024
2 parents d197e6a + 86e853b commit c3135fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pipeline {
steps {
timeout( time: 180, unit: 'MINUTES' ) {
checkout scm
mavenBuild( "jdk17", "clean install -Dmaven.test.failure.ignore=true -e javadoc:javadoc", "maven3", false)
mavenBuild( "jdk17", "clean install -Dmaven.test.failure.ignore=true -e javadoc:javadoc", "maven3", true)
}
}
}
Expand All @@ -36,7 +36,7 @@ pipeline {
steps {
timeout( time: 180, unit: 'MINUTES' ) {
checkout scm
mavenBuild( "jdk11", "clean install -Dmaven.test.failure.ignore=true -e javadoc:javadoc", "maven3", false)
mavenBuild( "jdk11", "clean install -Dmaven.test.failure.ignore=true -e javadoc:javadoc", "maven3", true)
}
}
}
Expand All @@ -45,7 +45,7 @@ pipeline {
}
}

def mavenBuild(jdk, cmdline, mvnName, skipRecording) {
def mavenBuild(jdk, cmdline, mvnName, skipJacoco) {
script {
try {
withEnv(["JAVA_HOME=${ tool "$jdk" }",
Expand All @@ -59,8 +59,8 @@ def mavenBuild(jdk, cmdline, mvnName, skipRecording) {
}
finally
{
if(!skipRecording) {
junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml', allowEmptyResults: true
if(!skipJacoco) {
// Collect the JaCoCo execution results.
jacoco inclusionPattern: '**/org/eclipse/jetty/reactive/**/*.class',
execPattern: '**/target/jacoco.exec',
Expand Down

0 comments on commit c3135fd

Please sign in to comment.