Skip to content

Commit

Permalink
Update Jenkinsfile for apache-10.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
joakime committed Dec 8, 2023
1 parent a1b73c6 commit c6358e3
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,27 @@ pipeline {
sourcePattern: '**/src/main/java'
warnings consoleParsers: [[parserName: 'Maven'], [parserName: 'Java']]
script {
if (env.BRANCH_NAME == 'master' ||
if (env.BRANCH_NAME == 'apache-11.0.x' ||
env.BRANCH_NAME == 'apache-10.0.x' ||
env.BRANCH_NAME == 'apache-10.1.x' ||
env.BRANCH_NAME == 'apache-9' ||
env.BRANCH_NAME == 'apache-8.5' ||
env.BRANCH_NAME == 'apache-8') {
env.BRANCH_NAME == 'apache-9') {
mavenBuild( "jdk11", "deploy" )
}
}

}
}
stage( "Build / Test - JDK17" ) {
agent { node { label 'linux' } }
options { timeout( time: 120, unit: 'MINUTES' ) }
steps {
mavenBuild( "jdk17", "clean install" )
}
}
stage( "Build / Test - JDK21" ) {
agent { node { label 'linux' } }
options { timeout( time: 120, unit: 'MINUTES' ) }
steps {
mavenBuild( "jdk21", "clean install" )
}
}
}
Expand Down

0 comments on commit c6358e3

Please sign in to comment.