Skip to content

Commit

Permalink
Using JDK 11 to build RM
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily-Jiang committed Apr 16, 2024
1 parent 66ac081 commit d7c8bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildScripts/release.groovy
Expand Up @@ -53,7 +53,7 @@ pipeline {
settings = '-s ../output-settings.xml -Pmp-staging'
}

if (params.module == 'microprofile-metrics' || params.module == 'microprofile-telemetry' || params.module == 'microprofile-parent' || params.module == 'microprofile-open-api' || params.module == 'microprofile-config' || params.module == 'microprofile'|| params.module == 'microprofile-reactive-messaging') {
if (params.module == 'microprofile-metrics' || params.module == 'microprofile-telemetry' || params.module == 'microprofile-parent' || params.module == 'microprofile-open-api' || params.module == 'microprofile-config' || params.module == 'microprofile' || params.module == 'microprofile-reactive-messaging') {
withEnv(["JAVA_HOME=${tool 'adoptopenjdk-hotspot-jdk11-latest'}", "PATH=${tool 'adoptopenjdk-hotspot-jdk11-latest'}/bin:${env.PATH}"]) {
sh "mvn -q -N io.takari:maven:0.7.7:wrapper -Dmaven=3.9.0 && ./mvnw -v"
sh "./mvnw ${settings} release:prepare release:perform -B -Dtag=${params.tag} -DdevelopmentVersion=${params.snapshotVersion} -DreleaseVersion=${params.releaseVersion} -Drevremark=${params.revremark} -Drelease.revision=${params.revremark} -DstagingProgressTimeoutMinutes=20"
Expand Down

0 comments on commit d7c8bd4

Please sign in to comment.