The following descripts how to upgrade the version of Jenkins and plugins
referenced in this repository. Both Jenkins core and plugins versions are
pinned within build.gradle
. This process will outline
how to painlessly upgrade the versions.
Download and add to your $PATH
jenkins-call-url
.
From the root of the repository run:
./scripts/upgrade/upgrade_build_gradle.sh
It executes the upgrade_build_gradle.sh
script. It
will automatically log into Jenkins, download core, upgrade all plugins, restart
Jenkins, and edit the build.gradle
file with the latest revisions. It is able
to accomplish this by executing scripts within the Jenkins script console.
After running upgrade_build_gradle.sh
, if there are missing plugins then add
it to build.gradle
in the getplugins
section referring to
`repo.jenkins-ci.org for GAV coordinates of the missing plugin.
After upgrading purge and bootstrap Jenkins again. Run through the test sequence documented in root README.