Interacting with Pipelines using the Developer perspective

The Pipelines view in the Developer perspective lists all the pipelines in a project along with details, such as the namespace in which the pipeline was created, the last pipeline run, the status of the tasks in the pipeline run, the status of the pipeline run, and the time taken for the run.

Procedure

  1. In the Pipelines view of the Developer perspective, select a project from the Project drop-down to see the pipelines in that project.

    Pipelines in the Developer perspective
  2. Click on the required pipeline to see the Pipeline Details page. It provides a visual representation of all the serial and parallel tasks in the pipeline. The tasks are also listed to the bottom-right of the page. You can click the listed Tasks to view the details of the task.

    Pipeline details
  3. Optionally, in the Pipeline Details page :

    • Click Pipeline Runs tab to see the completed, running, or failed runs for the pipeline. You can use the Options menu (icon image) to: stop a running pipeline, rerun a pipeline using the same parameters and resources as that of the previous pipeline execution, or delete a pipeline run.

    • Click Parameters tab to see the parameters defined in the Pipeline. You can also add or edit additional parameters as required.

    • Click Resources tab to see the resources defined in the Pipeline. You can also add or edit additional resources as required.

  4. Click Actions and select Start to start the pipeline. The Start Pipeline dialog box displays the Git Resources and the Image Resources based on the pipeline definition.

    1. In the Parameters section, enter a unique name in the IMAGE_NAME field.

    2. Use the drop-downs to select or create the required resources to customize the pipeline as required. For this example, retain their default values and click Start to start the pipeline run. After the pipeline starts, the tasks are executed sequentially in the Pipeline.

  5. The Pipeline Run Details page displays the pipeline being executed. You can:

    • Hover over the tasks to see the time taken for the execution of each step.

    • Click on a task to see logs for each of the steps in the task.

    • Click the Logs tab to see the logs as per the execution sequence of the tasks and use the Download button to download the logs to a text file.

      Pipeline run
  6. On the left navigation panel, click Topology and click on the application to see the pipeline runs listed in the right panel.

  7. In the Pipeline Runs section, click Start Last Run to start a new pipeline run with the same parameters and resources as the previous ones. This option is disabled if a pipeline run has not been initiated.

    Pipeline topology
  8. In the Topology page, hover to the left of the application to see the status of the pipeline run for the application.