Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
vikas0105 committed Jan 2, 2025
1 parent fae2241 commit 5c8b3cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pipeline {
agent any

environment {
JAVA_HOME = '/usr/lib/jvm/java-11-openjdk-amd64'
JAVA_HOME = '/usr/lib/jvm/java-17-openjdk-amd64'
MAVEN_HOME = '/usr/share/maven'
PATH = "${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${env.PATH}"
}
Expand All @@ -15,11 +15,11 @@ pipeline {
}
}

stage('Set up Java 11') {
stage('Set up Java 17') {
steps {
echo 'Setting up Java 11...'
sh 'sudo apt update'
sh 'sudo apt install -y openjdk-11-jdk'
sh 'sudo apt install -y openjdk-17-jdk'
}
}

Expand Down

0 comments on commit 5c8b3cc

Please sign in to comment.