Upgrade jenkins java version

MSAL

Upgrades the version of java specified in Jenkins groovy scripts. Will not downgrade if the version is newer than the specified version.

org.openrewrite.jenkins.UpgradeJavaVersion

Required

The Java version to upgrade to.

The distribution of Java to use. When omitted the current distribution is maintained.

mod run . --recipe=org.openrewrite.jenkins.UpgradeJavaVersion \ -P version=17 \ -P distribution=openjdk

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.