-
Notifications
You must be signed in to change notification settings - Fork 167
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
Jenkins agents need newer Java (11+) #3030
Comments
For the time being I've rolled back the Jenkins update by backing up the |
Via
|
Just finished updating the Windows machines. Remaining platforms:
|
Is this something I may be able to do as a first task? |
Yes 🙂. We use Ansible to manage our CI hosts. In theory updating the Java being used for an existing platform would be:
When actually running the Ansible scripts against a CI host it's usually better to check that the host isn't running a build (otherwise the script may interrupt the in progress build) -- marking the host as offline in Jenkins will stop any jobs being scheduled on it (just remember to set it back to being online in Jenkins afterwards). Specifically for the macs one caveat is that when @AshCripps added the M1's we had to use a Java SDK from Azul as that was the only native Apple Silicon Java available at the time -- I understand that there are now Adoptium binaries available so in theory we could simplify the playbook by removing the M1 specific tasks: build/ansible/roles/java-base/tasks/main.yml Lines 68 to 78 in 7fdcf57
|
According to https://github.com/AdoptOpenJDK/homebrew-openjdk, we should move all macs to the |
From #3085: macOS update statusUpdated to Java 17
Impossible to connect via SSH
Offline
|
Update smartos CI hosts to Java 11. Remove obsolete entries for older versions of smartos. Refs: #3030
It looks like after updating to the latest Jenkins LTS (https://www.jenkins.io/security/advisory/2022-09-09/) several agents are failing to connect to the server.
e.g. example failure from one of the agent logs:
Looks like now that Jenkins has dropped support for Java 8 (#2984) the agents also require Java 11+.
The text was updated successfully, but these errors were encountered: