Skip to content
Snippets Groups Projects
Commit 456b0c72 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: match pipeline-<index>-<any>-<suffix>

parent d811566d
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !712. Comments created here will be created in the context of that merge request.
......@@ -564,7 +564,7 @@ clean_pipeline:
--filter=reference=${registry}/*:pipeline-*
--format "{{.ID}} {{.Repository}} {{.Tag}}" ;
done
| sed -n -E 's/pipeline-([0-9]+)(-nightly|-default){0,1}$/& \1/p'
| sed -n -E 's/pipeline-([0-9]+)(-.*){0,1}$/& \1/p'
| while read id repository tag pipeline_id ; do
status=$(curl --silent -L
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${pipeline_id}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment