Installing Jenkins X
Installing Jenkins X on Google Cloud Platform Shell requires the following supported services installed and configured prior to installation:
A Google Cloud Platform (GCP) account. You can sign up for the GCP free trial, which lasts 12 months, and currently offers US$300 of credit.
Also ensure you have created a GCP project for your Jenkins X installation. It is recommended that you create a new GCP project, separate from your other development and production clusters.
jx commands from the GCP Cloud Shell, install the Jenkins X binaries from the GitHub repository and install it via GCP shell commands:
Open the GCP Cloud Shell, and choose your GCP project for Jenkins X.Note
It is highly recommended that you use Google Chrome browser with GCP Cloud Shell, as you may experience issues using other browsers.
In GCP Cloud Shell, download the Jenkins X command-line binaries latest version (where [LATEST_VERSION] is the most current version of Jenkins X released, which is 2.0.46):
curl -L https://github.com/jenkins-x/jx/releases/download/[LATEST_VERSION]/jx-linux-amd64.tar.gz | tar xzv
jxexectutable into the executable directory with this command:
sudo mv jx /usr/local/bin
Once you have the
jx binary installed you can then configure a Jenkins X cluster on Google Kubernetes Engine.
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.