Skip to content

Commit 3cbe703

Browse files
authored
Merge pull request #49718 from rolfedh/RHDEVDOCS-4394
RHDEVDOCS-4394 Jenkins updates for 4.12
2 parents bba7c5b + f5885b3 commit 3cbe703

8 files changed

+54
-58
lines changed

cicd/jenkins/images-other-jenkins-agent.adoc

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,25 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
{product-title} provides Base, Maven, and Node.js images for use as Jenkins agents.
9+
{product-title} provides a base image for use as a Jenkins agent.
1010

1111
The Base image for Jenkins agents does the following:
1212

1313
* Pulls in both the required tools, headless Java, the Jenkins JNLP client, and the useful ones, including `git`, `tar`, `zip`, and `nss`, among others.
1414
* Establishes the JNLP agent as the entry point.
15-
* Includes the `oc` client tooling for invoking command line operations from within Jenkins jobs.
15+
* Includes the `oc` client tool for invoking command line operations from within Jenkins jobs.
1616
* Provides Dockerfiles for both Red Hat Enterprise Linux (RHEL) and `localdev` images.
1717
18-
The Maven v3.5, Node.js v10, and Node.js v12 images extend the Base image. They provide Dockerfiles for the Universal Base Image (UBI) that you can reference when building new agent images. Also note the `contrib` and `contrib/bin` subdirectories, which enable you to insert configuration files and executable scripts for your image.
19-
2018
[IMPORTANT]
2119
====
2220
Use a version of the agent image that is appropriate for your {product-title} release version. Embedding an `oc` client version that is not compatible with the {product-title} version can cause unexpected behavior.
2321
====
2422

25-
The {product-title} Jenkins image also defines the following sample pod templates to illustrate how you can use these agent images with the Jenkins Kubernetes plug-in:
23+
The {product-title} Jenkins image also defines the following sample `java-builder` pod template to illustrate how you can use the agent image with the Jenkins Kubernetes plugin.
2624

27-
- The `maven` pod template, which uses a single container that uses the {product-title} Maven Jenkins agent image.
28-
- The `nodejs` pod template, which uses a single container that uses the {product-title} Node.js Jenkins agent image.
29-
- The `java-builder` pod template, which employs two containers. One is the `jnlp` container, which uses the {product-title} Base agent image and handles the JNLP contract for starting and stopping Jenkins agents. The second is the `java` container which uses the `java` {product-title} Sample ImageStream, which contains the various Java binaries, including the Maven binary `mvn`, for building code.
30-
- The `nodejs-builder` pod template, which employs two containers. One is the `jnlp` container, which uses the {product-title} Base agent image and handles the JNLP contract for starting and stopping Jenkins agents. The second is the `nodejs` container which uses the `nodejs` {product-title} Sample ImageStream, which contains the various Node.js binaries, including the `npm` binary, for building code.
25+
The `java-builder` pod template employs two containers:
26+
* A `jnlp` container that uses the {product-title} Base agent image and handles the JNLP contract for starting and stopping Jenkins agents.
27+
* A `java` container that uses the `java` {product-title} Sample ImageStream, which contains the various Java binaries, including the Maven binary `mvn`, for building code.
3128

3229
include::modules/images-other-jenkins-agent-images.adoc[leveloffset=+1]
3330

cicd/jenkins/images-other-jenkins.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ But for convenience, {product-title} provides image streams in the `openshift` n
3030

3131
You can manage Jenkins authentication in two ways:
3232

33-
* {product-title} OAuth authentication provided by the {product-title} Login plug-in.
33+
* {product-title} OAuth authentication provided by the {product-title} Login plugin.
3434
* Standard authentication provided by Jenkins.
3535

3636
include::modules/images-other-jenkins-oauth-auth.adoc[leveloffset=+2]
@@ -62,9 +62,14 @@ include::modules/images-other-jenkins-create-service.adoc[leveloffset=+1]
6262

6363
include::modules/images-other-jenkins-kubernetes-plugin.adoc[leveloffset=+1]
6464

65+
.Additional resources
66+
67+
* xref:../../cicd/jenkins/important-changes-to-openshift-jenkins-images.adoc#important-changes-to-openshift-jenkins-images[Important changes to OpenShift Jenkins images]
68+
6569
include::modules/images-other-jenkins-memory.adoc[leveloffset=+1]
6670

6771
[role="_additional-resources"]
6872
== Additional resources
6973

70-
* See xref:../../architecture/understanding-development.adoc#base-image-options[Base image options] for more information on the link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_atomic_host/7/html-single/getting_started_with_containers/index#using_red_hat_base_container_images_standard_and_minimal[Red Hat Universal Base Images] (UBI).
74+
* See xref:../../architecture/understanding-development.adoc#base-image-options[Base image options] for more information about the link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_atomic_host/7/html-single/getting_started_with_containers/index#using_red_hat_base_container_images_standard_and_minimal[Red Hat Universal Base Images] (UBI).
75+
* xref:../../cicd/jenkins/important-changes-to-openshift-jenkins-images.adoc#important-changes-to-openshift-jenkins-images[Important changes to OpenShift Jenkins images]

modules/deploy-app.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ endif::[]
3636

3737
. Click *Create* to create the project.
3838

39-
. Switch to the *Developer* perspective and select *+Add*. Make sure that the selected *Project* is the one that you just created.
39+
. Switch to the *Developer* perspective and select *+Add*. Verify that the selected *Project* is the one that you just created.
4040

4141
. In the *Developer Catalog* dialog, select *All services*.
4242

@@ -80,4 +80,4 @@ ifeval::["{context}" == "rosa-getting-started"]
8080
endif::[]
8181
ifeval::["{context}" == "rosa-quickstart"]
8282
:quickstart:
83-
endif::[]
83+
endif::[]

modules/images-other-jenkins-agent-pod-retention.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
[id="images-other-jenkins-agent-pod-retention_{context}"]
77
= Jenkins agent pod retention
88

9-
Jenkins agent pods, are deleted by default after the build completes or is stopped. This behavior can be changed by the Kubernetes plug-in pod retention setting. Pod retention can be set for all Jenkins builds, with overrides for each pod template. The following behaviors are supported:
9+
Jenkins agent pods, are deleted by default after the build completes or is stopped. This behavior can be changed by the Kubernetes plugin pod retention setting. Pod retention can be set for all Jenkins builds, with overrides for each pod template. The following behaviors are supported:
1010

1111
* `Always` keeps the build pod regardless of build result.
12-
* `Default` uses the plug-in value, which is the pod template only.
12+
* `Default` uses the plugin value, which is the pod template only.
1313
* `Never` always deletes the pod.
1414
* `On Failure` keeps the pod if it fails during the build.
1515

0 commit comments

Comments
 (0)