Skip to content

Add api to rename a pipeline

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.

Related to #27133

Edited by Niklas van Schrick

Merge request reports