Skip to content

Commit

Permalink
fix: Compile testservice with Java 17 (#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
mythsunwind authored Sep 18, 2023
1 parent 8cf16e0 commit 846d7dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testservice/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pipeline {
}
}
steps {
withMaven(jdk: 'AdoptiumJDK11', maven: 'M3', mavenLocalRepo: '.repository') {
withMaven(jdk: 'AdoptiumJDK17', maven: 'M3', mavenLocalRepo: '.repository') {
sh 'PATH=$HOME/.cargo/bin:$PATH make'
sh 'sudo cp $WORKSPACE/native/libs/lib* /usr/lib/'
sh './gradlew clean'
Expand All @@ -25,7 +25,7 @@ pipeline {
}
stage('Build') {
steps {
withMaven(jdk: 'AdoptiumJDK11', maven: 'M3', mavenLocalRepo: '.repository') {
withMaven(jdk: 'AdoptiumJDK17', maven: 'M3', mavenLocalRepo: '.repository') {
withCredentials([usernamePassword(credentialsId: 'READ_PACKAGES_GITHUB_TOKEN', passwordVariable: 'GITHUB_TOKEN', usernameVariable: 'GITHUB_USER')]) {
sh './gradlew :testservice:shadowJar'
}
Expand Down

0 comments on commit 846d7dd

Please sign in to comment.