-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requires Java 17 Agent #465
Comments
Feel free to try this workaround: pipeline {
agent {
kubernetes {
inheritFrom 'maven base'
containerTemplate {
name 'maven'
image 'maven:3.8.4-openjdk-17'
}
}
}
stages {
stage('Print JDK version') {
steps {
container('maven') {
sh 'java -version'
}
container('base') {
sh 'git --version'
}
}
}
}
} |
Thx for replying. I've built a java-agent image locally, that already solved the problem. I'll try the way you mentioned as another realization. In my opinion, Java 17 as a LTS version, the official image may be supplied. Thanks a lot. |
Hi @sslyc , please refer to |
That's quite a nice idea. Hopes it coming true soon. I'll follow that issue. And this one shall be closed. |
What is version of KubeSphere DevOps has the issue?
v3.2.1
How did you install the Kubernetes? Or what is the Kubernetes distribution?
KubeKey
Describe this feature
The devops-system does not support Java 17 so far. It is necessary to add this feature in the next version.
Additional information
No response
The text was updated successfully, but these errors were encountered: