Support a pipeline view based on the pipeline number
R
Rogelio Kobashi
Our generated builds are numbered with the pipeline number (for internal reasons we use that instead of job number) so it will be nice if we can have an easy way to access to that view by using only the pipeline number (i.e. https://app.circleci.com/pipelines/{pipeline_number}).
Currently the only way to access the view using only the number is by using the CircleCI API:
- Get pipeline object based on the pipeline number and take the ID
- Get the pipeline's workflows objects based on the ID taken from step 1 and take the workflow ID
- Go to https://app.circleci.com/pipelines/workflows/{workflow_id}
Is either that or scroll enough until you find the pipeline you are looking for.
Thanks in advance.
D
Dominik K
It's possible (don't know since when):
Just click on the pipeline-number and then you get the permalink of one pipeline:
https://app.circleci.com/pipelines/github/ORG/REPO/{pipeline_number}
p
pp_online@outlook.com
This would be really useful for us as well. We set a Slack channel topic whenever starting a release build and clear it when it completes. Right now, we link to the workflow, but this doesn't work when we rerun a failed workflow (since we rerun "from failed" and the job to update Slack succeeded). It'd be nice if we could link to a pipeline view instead to easily view all workflows in the pipeline.
(Alternatively it'd be nice if we could configure a job to run in all workflows by default—so that it runs in a rerun-from-failed workflow after having already passed).