Pipeline activity

The pipeline activity helps GoCD users to see the status of historical runs of a pipeline. The pipeline activity page makes it easier to browse through the pipeline runs by filtering pipeline runs using label, user or material revision(e.g. git commit sha)

Overview

Pipelines activity

ActionsDescription
Pause pipelinePipeline can be paused by clicking on this button. Optionally, it accepts reason for pausing the pipeline.
Pipeline settingsTake user to pipeline settings page.
Filter historyAllows user to filter pipeline activity by pipeline counter, revision or username.
StagesStage available for the pipeline run. In case of change in stage config the pipeline run with same stage config will be rendered in group while maintaining the pipeline run order.
InstancePipeline run label.
VSMLink to VSM, It will open the VSM for the current pipeline run in a new tab.
Trigger byReason for pipeline run, e.g. Triggered by user or Triggered by changes. Click on the link to know more about the revisions it triggered with
Stage status barShow the status of each stage in pipeline. Hover on the stage status bar to get more options.
Add CommentAllow user to add comment on the pipeline run. For this user must have operate permission on the pipeline.
Gate IconBased on the stage config before each stage there will be an Auto or Manual gate icon. User can run the next stage based on the state of previous stage.
Stage DetailsOpen the stage details page in new tab.
Rerun or cancel stageOn hover on the stage details tab user will get Rerun or Cancel stage icon based on the stage status.

Comment on a pipeline run

Each pipeline in the pipeline history page can now be annotated with a comment. This text can be seen by all other users who have access to view history of a pipeline.

Clicking on the Add Comment link for a pipeline run brings up a modal box to enter comment. Enter the comment and click on the Save or Save & Close to update the comment.

Pipelines activity

Feature toggle

Note: This is a beta feature, which is turned off by default in GoCD version prior to 19.12.0. It can be turned on by using the feature toggle API, for this feature. If you are using curl, this is what you will need to do:

  1. curl "https://go_server/go/api/admin/feature_toggles/pipeline_comment_feature_toggle_key" \
  2. -H 'Accept: application/vnd.go.cd.v1+json' \
  3. -u 'username:password' \
  4. -X PUT -d '{"toggle_value": "on"}'