Add api to rename a pipeline
requested to merge gitlab-community/gitlab:27133-add-custom-name-to-pipeline-during-runtime into master
What does this MR do and why?
Add api to rename a pipeline
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Run a pipeline like this and see that the pipeline name has changed
set-name:
image: curlimages/curl:8.4.0
script:
- >
curl
-H "Job-Token: $CI_JOB_TOKEN"
-X PUT
--data "name=Pipeline with ID $CI_PIPELINE_ID"
$CI_API_V4_URL/projects/$CI_PROJECT_ID/pipelines/$CI_PIPELINE_ID/metadata
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #27133 (closed)
Edited by Niklas van Schrick