The Jenkins server can be configured with the following environment variables:
Variable | Definition | Example values and settings |
---|---|---|
|
Determines whether the OpenShift Login plug-in manages authentication when
logging in to Jenkins. To enable, set to |
Default: |
|
The password for the |
Default: |
|
These values control the maximum heap size of the Jenkins JVM. If
By default, the maximum heap size of the Jenkins JVM is set to 50% of the container memory limit with no cap. |
|
|
These values control the initial heap size of the Jenkins JVM. If
By default, the JVM sets the initial heap size. |
|
|
If set, specifies an integer number of cores used for sizing numbers of internal JVM threads. |
Example setting: |
|
Specifies options to apply to all JVMs running in this container. It is not recommended to override this value. |
Default: |
|
Specifies Jenkins JVM garbage collection parameters. It is not recommended to override this value. |
Default: |
|
Specifies additional options for the Jenkins JVM. These options are appended to all other options, including the Java options above, and may be used to override any of them if necessary. Separate each additional option with a space; if any option contains space characters, escape them with a backslash. |
Example settings: |
|
Specifies arguments to Jenkins. |
|
|
Specifies additional Jenkins plug-ins to install when the container is first run
or when |
Example setting: |
|
Specifies the interval in milliseconds that the OpenShift Login plug-in polls {product-title} for the permissions that are associated with each user that is defined in Jenkins. |
Default: |
|
When running this image with an {product-title} persistent volume for the Jenkins
configuration directory, the transfer of configuration from the image to the Persistent
Volume is performed only the first time the image starts because the Persistent
Volume is assigned when the Persistent Volume Claim is created. If you create a
custom image that extends this image and updates configuration in the custom image
after the initial startup, the configuration is not copied over unless you set this
environment variable to |
Default: |
|
When running this image with an {product-title} persistent volume for the Jenkins
configuration directory, the transfer of plugins from the image to the Persistent
Volume is performed only the first time the image starts because the Persistent
Volume is assigned when the Persistent Volume Claim is created. If you create a
custom image that extends this image and updates plug-ins in the custom image after
the initial startup, the plug-ins are not copied over unless you set this
environment variable to |
Default: |
|
When running this image with an {product-title} Persistent Volume Claim for the
Jenkins configuration directory, this environment variable allows the fatal error
log file to persist when a fatal error occurs. The fatal error file is saved at
|
Default: |
|
Setting this value overrides the image that is used for the default NodeJS agent
Pod configuration. A related imagestreamtag named |
Default NodeJS agent image in Jenkins server:
|
|
Setting this value overrides the image used for the default maven agent Pod
configuration. A related imagestreamtag named |
Default Maven agent image in Jenkins server:
|