问题
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.
回答1:
I am afraid that now there is not a setting or workaround which can remove the commit message from the build title. As it is the default behavior currently.
The user voice of disabling append commit message after the buildNumber has been submitted to Microsoft development. You can check here to vote it up or submit a new feature request of your own.
来源:https://stackoverflow.com/questions/64065863/remove-commit-message-from-azure-devops-pipeline-run-web-page