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

JENKINS-69581: Install java-11-openjdk #777

Merged
merged 1 commit into from
Jan 6, 2023

Commits on Nov 20, 2022

  1. JENKINS-69581: Update required java version

    As of Jenkins Weekly 2.357 and LTS 2.361 the minimum required java
    version is java 11.
    
    If the command java -fullversion fails we will try to install openjdk-11.
    
    We first try and install it using amazon-linux-extras. If this passes
    then the launch continues. If it fails (for example we're launching a
    linux node on a distribution other than amazon-linux we try and install
    openjdk-11 using yum.
    
    If both of these commands fail we won't launch the node.
    
    At this point we don't explicitly check the java version, but this could
    perhaps be a future addition.
    grogersxyz committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    80f27fa View commit details
    Browse the repository at this point in the history