Upgrade jenkins java version
MSALUpgrades the version of java specified in Jenkins groovy scripts. Will not downgrade if the version is newer than the specified version.
org. openrewrite. jenkins. UpgradeJavaVersionRequired
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= openjdkInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.