Upgrading Jenkins X
Keeping your Jenkins X environment updated can be done by command line using the
jx upgrade command. Here are the most common resources that can be upgraded. A comprehensive list of upgradeable resources are available at the Jenkins X documentation site for the command.
|For instructions on installing Jenkins X, refer to Installing Jenkins X.|
Upgrade your Jenkins X command-line by opening a terminal and running
jx to upgrade the binary :
$ jx upgrade cli
Without options, the command upgrades to the latest version of the
jx binary released. If you want to install a certain version of the Jenkins X command-line binaries, you can add an option specifying the particular version of
$ jx upgrade cli -v 2.0.46
Upgrade your Jenkins X platform and any associated packages by using
jx to upgrade the resource:
$ jx upgrade platform
platform specified in the command is Jenkins, the Helm package manager and its associated ChartMuseum repository service, Nexus artifact repository, and Monocular for browsing and searching chart apps. Any ChartMuseum server associated with the cluster (such as the one hosted by the Jenkins X project) is also referenced by the platform.
You can upgrade any Jenkins X apps installed during the Jenkins X cluster creation process by using
jx to upgrade the resource:
$ jx upgrade apps
apps specified includes all installed apps in your kubernetes cluster if upgrades are available. If you want to upgrade only specific apps, you can use the
jx upgrade app command and the specified app:
jx upgrade app cb-app-slack
Online version published by CloudBees, Inc. under the Creative Commons Attribution-ShareAlike 4.0 license.
CloudBees and CloudBees DevOptics are registered trademarks and CloudBees Core, CloudBees CodeShip, CloudBees Jenkins Enterprise, CloudBees Jenkins Platform, CloudBees Jenkins Operations Center and DEV@cloud are trademarks of CloudBees, Inc.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
The registered trademark Jenkins® is used pursuant to a sublicense from the Jenkins project and Software in the Public Interest, Inc. Read more at www.cloudbees.com/jenkins/about.
Apache, Apache Ant, Apache Maven, Ant and Maven are trademarks of The Apache Software Foundation. Used with permission. No endorsement by The Apache Software Foundation is implied by the use of these marks.
Other names may be trademarks of their respective owners. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this content, and CloudBees was aware of a trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this content, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.