mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
23 lines
849 B
Plaintext
23 lines
849 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * cicd/jenkins/images-other-jenkins.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="images-other-jenkins-auth_{context}"]
|
|
= Jenkins authentication
|
|
|
|
Jenkins authentication is used by default if the image is run directly, without using a template.
|
|
|
|
The first time Jenkins starts, the configuration is created along with the administrator user and password. The default user credentials are `admin` and `password`. Configure the default password by setting the `JENKINS_PASSWORD` environment variable when using, and only when using, standard Jenkins authentication.
|
|
|
|
.Procedure
|
|
|
|
* Create a Jenkins application that uses standard Jenkins authentication by entering the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc new-app -e \
|
|
JENKINS_PASSWORD=<password> \
|
|
ocp-tools-4/jenkins-rhel8
|
|
----
|