Managing pipelines
You manage pipelines by defining, editing, deleting, and tracking the execution history of pipelines.
About this task
The structure of a pipeline is defined using JSON format. You can use the following example JSON format to define a pipeline per your requirement:
{
"name": "pipeline-name",
"stages": [
{
"name": "stage-name",
"blocks": [
{
"environment": "environment-name",
"processes": [
"application-process-name-1",
"application-process-name-2"
]
}
]
}
]
}
Here, pipeline-name and stage-name are custom names. The stage-name can be named to signify the environments you want to deploy. The environment name and application process names must match with the ones existing in the application.
Manage pipelines from the Applications page as follows:
Procedure
-
Go to
.The New Pipeline window is displayed.
-
Enter a name for the new pipeline and save it.
The Code View tab of the new pipeline is displayed.
-
Define the structure of the pipeline using the JSON format as described above
and save it.
The new pipeline is listed in the Pipelines tab. You can manage pipelines by running, editing, or deleting a pipeline. Each pipeline includes its execution history. You can view or cancel a pipeline execution. Note that you can cancel pipelines with Started, Not Started, and Running status only. To run a pipeline, see Executing pipelines.