jenkinsci / jenkinsfile-runner

A command line tool to run Jenkinsfile as a function
MIT License
1.14k stars 296 forks source link

Drop Java 8 support + Java 11 and Jenkins update + Migrate to Eclipse Temurin official images + Rename Master branch to Main #640

Closed oleg-nenashev closed 2 years ago

oleg-nenashev commented 2 years ago

A bulk update that removes support for Java 8 and updates dependencies. It also does a bulk update for demos accordingly.

Why? Currently Jenkinsfile Runner base images are distributed with Java 8 by default. Also, there is ongoing work on Java 17 support in Jenkins and Jenkinsfile Runner in https://github.com/jenkinsci/jenkinsfile-runner/issues/569, as well as removal of Java 8 support in the recent Jenkins releases.

Closes #584

oleg-nenashev commented 2 years ago

Now Spotbugs fails

[2022-08-08T13:42:53.492Z] [ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:4.7.1.1:check (spotbugs) on project bootstrap: failed with 22 bugs and 0 errors -> [Help 1]

[2022-08-08T13:42:53.492Z]