WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
Configuration
Categories:
Jenkins X should work out of the box with smart defaults for your cloud provider. e.g. Jenkins X automatically uses ECR if you are using AWS or EKS.
However you can configure values in the underlying helm charts used by Jenkins X.
To do this you need to create a myvalues.yaml
file in the current directory you are in when you run either jx create cluster or jx install
Then this YAML file can be used to override any of the underlying values.yaml
in any of the charts in Jenkins X.
Making changes after the install
Once you have installed you can make more changes via jx upgrade platform which will reuse your myvalues.yaml
file.
Or if you use GitOps management you can just create a Pull Request on your Development environment git repository.
Nexus
e.g. if you wish to disable Nexus being installed and instead service link to a separate nexus at a different host name you can use this myvalues.yaml
:
ChartMuseum
To disable and service link chart museum add:
Jenkins Image
We ship with a default Jenkins docker image jenkinsxio/jenkinsx with Jenkins X which has all of our required plugins inside.
If you wish to add your own plugins you can create your own Dockerfile
and image using our base image like this:
Then add your custom plugins to plugins.txt
locally of the form:
Once you have built and released your image via CI/CD you can then use it in your Jenkins X installation.
To configure Jenkins X to use your custom image you can specify your own Jenkins image via a myvalues.yaml
file:
There is an example OSS project jenkins-x/jenkins-x-openshift-image you could use as a template which creates a new Jenkins image to add OpenShift specific plugins and configuration for using Jenkins X on OpenShift.
Docker Registry
We try and use the best defaults for each platform for the Docker Registry; e.g. using ECR on AWS.
However you can also specify this via the --docker-registry
option when running jx create cluster or jx install
e.g.
Though if you use a different Docker Registry you will probably need to also modify the secret for connecting to docker.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.