Skip to content
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

switch Jenkins to use Java 17 #2195

Merged
merged 2 commits into from
Jan 7, 2025
Merged

switch Jenkins to use Java 17 #2195

merged 2 commits into from
Jan 7, 2025

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Jan 6, 2025

No description provided.

@evgeni evgeni linked an issue Jan 6, 2025 that may be closed by this pull request
@evgeni
Copy link
Member Author

evgeni commented Jan 6, 2025

Jenkins upstream would support Java 21, but there is no 21 in Debian (old)stable.

Comment on lines -26 to +28
$java_package = 'java-11-openjdk-headless'
$java_package = 'java-17-openjdk-headless'

package { ['java-1.8.0-openjdk', 'java-1.8.0-openjdk-headless', 'java-1.8.0-openjdk-devel']:
package { ['java-11-openjdk', 'java-11-openjdk-headless', 'java-11-openjdk-devel']:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering if we should have jenkins_java_version = 17 and jenkins_java_cleanup = 11 somewhere, and just reuse that through the manifests.

@@ -4,14 +4,10 @@
auto => { 'reboot' => false },
blacklist => [
'docker-ce',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, but we can get rid of this by now. We never really adopted Docker on our CI.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Especially, we do not have Debian-based (general purpose) CI nodes ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@evgeni evgeni merged commit 4ee5458 into master Jan 7, 2025
2 checks passed
@evgeni evgeni deleted the jenkins-java-17 branch January 7, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java 11 end of life in Jenkins - need to upgrade to 17
2 participants