Skip to content

Commit

Permalink
changed java version to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
abalalaev committed Jul 24, 2023
1 parent ba1fc61 commit 76612d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pipeline {
environment {
// JAVA_HOME = "/opt/jdk-17.0.2"
JAVA_HOME = "/opt/jdk-17.0.2"
MY_ENV = sh(returnStdout: true, script:
'''#!/bin/bash
if [[ $BRANCH_NAME =~ "release-" ]]; then echo prod; else echo dev; fi
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>11</java.version>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>

Expand Down Expand Up @@ -915,8 +915,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 76612d6

Please sign in to comment.