You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can migrate your CI/CD workflows from Jenkins to xref:../../cicd/pipelines/understanding-openshift-pipelines.adoc#understanding-openshift-pipelines[Red Hat OpenShift Pipelines], a cloud-native CI/CD experience based on the Tekton project.
= Comparison of Jenkins and OpenShift Pipelines concepts
7
8
8
-
This section summarizes the basic terms used in Jenkins and Tekton, and compares the equivalent terms.
9
+
You can review and compare the following equivalent terms used in Jenkins and OpenShift Pipelines.
9
10
10
11
== Jenkins terminology
11
12
Jenkins offers declarative and scripted pipelines that are extensible using shared libraries and plugins. Some basic terms in Jenkins are as follows:
12
13
13
-
* *Pipeline*: Automates the entire process of building, testing, and deploying applications, using the link:https://groovy-lang.org/[Groovy] syntax.
14
+
* *Pipeline*: Automates the entire process of building, testing, and deploying applications by using link:https://groovy-lang.org/[Groovy] syntax.
14
15
* *Node*: A machine capable of either orchestrating or executing a scripted pipeline.
15
-
* *Stage*: A conceptually distinct subset of tasks performed in a pipeline. Plugins or user interfaces often use this block to display status or progress of tasks.
16
+
* *Stage*: A conceptually distinct subset of tasks performed in a pipeline. Plugins or user interfaces often use this block to display the status or progress of tasks.
16
17
* **Step**: A single task that specifies the exact action to be taken, either by using a command or a script.
17
18
18
-
== Tekton terminology
19
-
Tekton uses the link:https://yaml.org/[YAML] syntax for declarative pipelines and consists of tasks. Some basic terms in Tekton are as follows:
19
+
== OpenShift Pipelines terminology
20
+
OpenShift Pipelines uses link:https://yaml.org/[YAML] syntax for declarative pipelines and consists of tasks. Some basic terms in OpenShift Pipelines are as follows:
20
21
21
22
* **Pipeline**: A set of tasks in a series, in parallel, or both.
22
23
* **Task**: A sequence of steps as commands, binaries, or scripts.
@@ -27,7 +28,7 @@ Tekton uses the link:https://yaml.org/[YAML] syntax for declarative pipelines an
27
28
====
28
29
You can initiate a PipelineRun or a TaskRun with a set of inputs such as parameters and workspaces, and the execution results in a set of outputs and artifacts.
29
30
====
30
-
* **Workspace**: In Tekton, workspaces are conceptual blocks that serve the following purposes:
31
+
* **Workspace**: In OpenShift Pipelines, workspaces are conceptual blocks that serve the following purposes:
31
32
32
33
** Storage of inputs, outputs, and build artifacts.
33
34
@@ -38,16 +39,16 @@ You can initiate a PipelineRun or a TaskRun with a set of inputs such as paramet
38
39
+
39
40
[NOTE]
40
41
====
41
-
In Jenkins, there is no direct equivalent of Tekton workspaces. You can think of the control node as a workspace, as it stores the cloned code repository, build history, and artifacts. In situations where a job is assigned to a different node, the cloned code and the generated artifacts are stored in that node, but the build history is maintained by the control node.
42
+
In Jenkins, there is no direct equivalent of OpenShift Pipelines workspaces. You can think of the control node as a workspace, as it stores the cloned code repository, build history, and artifacts. When a job is assigned to a different node, the cloned code and the generated artifacts are stored in that node, but the control node maintains the build history.
42
43
====
43
44
44
45
== Mapping of concepts
45
-
The building blocks of Jenkins and Tekton are not equivalent, and a comparison does not provide a technically accurate mapping. The following terms and concepts in Jenkins and Tekton correlate in general:
46
+
The building blocks of Jenkins and OpenShift Pipelines are not equivalent, and a specific comparison does not provide a technically accurate mapping. The following terms and concepts in Jenkins and OpenShift Pipelines correlate in general:
46
47
47
-
.Jenkins and Tekton - basic comparison
48
+
.Jenkins and OpenShift Pipelines - basic comparison
= Comparison of Jenkins and OpenShift Pipelines execution models
8
+
9
+
Jenkins and OpenShift Pipelines offer similar functions but are different in architecture and execution.
10
+
11
+
.Comparison of execution models in Jenkins and OpenShift Pipelines
12
+
[cols="1,1",options="header"]
13
+
|===
14
+
|Jenkins|OpenShift Pipelines
15
+
|Jenkins has a controller node. Jenkins runs pipelines and steps centrally, or orchestrates jobs running in other nodes.|OpenShift Pipelines is serverless and distributed, and there is no central dependency for execution.
16
+
|Containers are launched by the Jenkins controller node through the pipeline.|OpenShift Pipelines adopts a 'container-first' approach, where every step runs as a container in a pod (equivalent to nodes in Jenkins).
17
+
|Extensibility is achieved by using plugins.|Extensibility is achieved by using tasks in Tekton Hub or by creating custom tasks and scripts.
0 commit comments