Skip to content

Commit

Permalink
fix: Adjust used JDK name for deployment of testservice (#3101)
Browse files Browse the repository at this point in the history
  • Loading branch information
mythsunwind authored Nov 13, 2024
1 parent 544c802 commit f883583
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: 'AdoptiumJDK17', maven: 'M3', mavenLocalRepo: '.repository') {
withMaven(jdk: 'JDK17', 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: 'AdoptiumJDK17', maven: 'M3', mavenLocalRepo: '.repository') {
withMaven(jdk: 'JDK17', 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 f883583

Please sign in to comment.