I know how to change the runName (also known as Build.BuildNumber) but as shown here the commit message also shows up (this is the pipeline page in devops) even though it's not part of the name that I set. This behavior is also present when I don't change the name, it just looks like yyyyMMdd.rev <commit message>
.
I don't want the message there because the BuildNumber that I set describes the pipeline run better, and the commit message could be confusing. Is it possible to remove the commit message from this list? Note that this is defined by the new yml pipelines.
As of Sprint 209 / October 2022, you can set a new pipeline property in the yaml
which will remove the latest commit message from the pipeline run.
Announcement: https://learn.microsoft.com/en-us/azure/devops/release-notes/2022/sprint-209-update?tabs=yaml
and the specific documentation: https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/pipeline?view=azure-pipelines#pipeline-stages