Search code examples
azure-devopsazure-pipelinesazure-pipelines-yaml

Azure DevOps pipline run descriptions


We have an ADO YAML pipeline which runs based on variables and parameters selected at the time of the run.

Is there a way to put a parameter selected into the desription / name of the run to make it obvious which selection was chosen at the time of the run?


Solution

  • Yes you can set build number using this command

    steps:
      - script: echo "##vso[build.updatebuildnumber]$(CustomValue)"
    

    Here is documentation for this.