Upgrading
April 24, 2017 ยท View on GitHub
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.
Prerequisites
Download and add to your $PATH jenkins-call-url.
Upgrade Jenkins and plugins
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.
Add missing plugins
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.
Run through tests
After upgrading purge and bootstrap Jenkins again. Run through the test sequence documented in root README.