How to add links to documentation to pipeline run in Azure Devops

We have a few hundred different pipelines in Azure DevOps and we have documentation about the variables and describing what the pipeline does.

Perhaps there is a way to add a link to the documentation to the pipelines run? For example here enter image description here

1 answer

  • answered 2022-05-05 02:32 Bowman Zhu-MSFT

    From the screenshot, the pipeline was not run indeed.

    If you are using YAML pipeline, just add the comments to the pipeline definition:

    # Follow below link for more details:
    - dev
      vmImage: ubuntu-latest
    - script: echo Hello, world!
      displayName: 'Run a one-line script'

    enter image description here

    Then, you can press 'Ctrl' and right-click to go to the details page.

    If you are using Classic pipeline, you can add it to this place:

    enter image description here

    You cannot add custom display items where you show. If you want to see it there, you can do this:

    If you are using YAML:

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    For the YAML pipeline, be sure to follow the steps I provided above, otherwise, the variable won't show up there.

    The classic pipeline is similar.

    Let me know if you have more concerns.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum