Search code examples
azureazure-devopsazure-pipelinesazure-pipelines-yamlazure-pipelines-build-task

Show which task is currently running in ADO pipeline summary page for a externally managed template


In my Azure Devops pipeline, I am using a template which is stored in a repository where I have only read access (it is managed by another team).

Given template has this structure:

- stage
  - job
    - task1 
    - task2
    - ...
    - task 12

I would like to see on the pipeline summary page which task is currently being run. Unfortunately I am not able to edit the template in order to add any debug. So I cannot add anything like:

echo "##vso[task.setprogress value=0;]Starting task: ${{ parameters.taskName }}"

Currently summary page only shows which stage and job is being run:

How can I add information about which task is currently being run?

enter image description here


Solution

  • How can I add information about which task is currently being run in pipeline summary page?

    It appears that the feature to show which task is currently being run in pipeline summary page does not exist currently. You can only check which task is running by clicking the job to the details page, with console logs. This does not depend on whether you are using a template.

    Update:

    So I cannot add anything like:

    echo "##vso[task.setprogress value=0;]Starting task: ${{ parameters.taskName }}"

    When using SetProgress in the task, you can observe that a progress indicator changes with the percentage of completion when the task runs this script in the details page.

    test

    However, it will not show in the pipeline summary page.

    If you still need the feature, you can request the feature for Azure DevOps here to help the feature better.