Skip to content

Commit

Permalink
Use "OpenJDK 17" as JDK in pipeline (#1444)
Browse files Browse the repository at this point in the history
Related to #1432

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn authored Dec 20, 2022
1 parent f1b8463 commit e7ca749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def releaseOpenHabComponent(componentName, branch, releaseVersion, nextVersion,
resetOpenhabFork(gitBaseUrl, componentName, releaseVersion)

withCredentials([usernamePassword(credentialsId: env.GIT_CREDENTIALS_ID, passwordVariable: 'githubPassword', usernameVariable: 'githubUser')]) {
withMaven(jdk: 'OpenJDK 11', maven: 'maven (latest)', mavenOpts: '-Xms512m -Xmx2048m', mavenLocalRepo: '.repository', globalMavenSettingsConfig: env.MAVEN_GLOBAL_SETTINGS, options: [artifactsPublisher(disabled: true)]) {
withMaven(jdk: 'OpenJDK 17', maven: 'maven (latest)', mavenOpts: '-Xms512m -Xmx2048m', mavenLocalRepo: '.repository', globalMavenSettingsConfig: env.MAVEN_GLOBAL_SETTINGS, options: [artifactsPublisher(disabled: true)]) {
dir(componentName) {
deleteDir()
checkout([$class: 'GitSCM', branches: [[name: '*/' + branch]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'LocalBranch', localBranch: branch], [$class: 'CloneOption', depth: 0, noTags: true, reference: '', shallow: false], [$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: false, recursiveSubmodules: true, reference: '', trackingSubmodules: true]], submoduleCfg: [], userRemoteConfigs: [[url: gitRepoUrl ]]])
Expand Down

0 comments on commit e7ca749

Please sign in to comment.