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 8187443 commit 66ac081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.vscode
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') {
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 66ac081

Please sign in to comment.