9/22/2023 0 Comments Tfs add build tag![]() ![]() name: $(SourceBranchName)_$(date:yyyyMMdd)$(rev.r) For our example, we are going to add the branch name to the front of the run date and count by adding the following name element to the top of our YAML file. ![]() As with the rest of the YAML related things you have all the same information available as the rest of the Pipeline to use in building whatever name might be helpful for your situation. ![]() If you have the need you can change this naming scheme by using a name element in your YAML. For example, the fourth build on March, 17th, 2020 would start with the name 20200317.4 plus the description of the last commit. If you want to see how this project has progressed check out the following posts.Īzure DevOps Publish Artifacts for ASP.NET CoreĪzure DevOps Pipelines: Multiple Jobs in YAMLĪzure DevOps Pipelines: Use YAML Across ReposĪzure DevOps Pipelines: Conditionals in YAML Namingīy default, Pipeline runs are naming using the current date with a number for how many times the Pipeline has run for the day. This post will be using a sample Azure DevOps project built over the last few weeks of posts. In this week’s post, we are going to cover changing the naming of Pipeline runs to provide more information as well as tagging our source when a pipeline is run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |