Skip to content

Commit

Permalink
MTM-60723 Use JDK17 as the build SDK retaining Java 11 language level (
Browse files Browse the repository at this point in the history
…#92)

* MTM-60723 Using JDK17 image and target version Java 11
  • Loading branch information
tsvet authored and GitHub Enterprise committed Aug 29, 2024
1 parent 2c70387 commit 735eb87
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .jenkins/github/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
agent {
kubernetes {
inheritFrom 'jdk11'
inheritFrom 'jdk17'
defaultContainer 'default'
}
}
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/github/functional-sdk-tests.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pipeline {
- name: "ci-registry-pull"
containers:
- name: "java"
image: "registry.stage.c8y.io/ci/jdk:11"
image: "registry.stage.c8y.io/ci/jdk:17"
command: ["/bin/sh"]
args: ["-c", "cat"]
tty: true
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/github/platform-management-sdk-tests.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pipeline {
- name: "ci-registry-pull"
containers:
- name: "java"
image: "registry.stage.c8y.io/ci/jdk:11"
image: "registry.stage.c8y.io/ci/jdk:17"
command: ["/bin/sh"]
args: ["-c", "cat"]
tty: true
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/github/pre-merge.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ERROR_COUNT = 0
podTemplate(containers: [
containerTemplate(
name: 'default',
image: 'registry.stage.c8y.io/ci/jdk:11',
image: 'registry.stage.c8y.io/ci/jdk:17',
ttyEnabled: true,
command: '/bin/sh -c',
args: "cat",
Expand Down

0 comments on commit 735eb87

Please sign in to comment.