1
votes

For a classic release pipeline, in Azure Devops you can easily see a snapshot of the variables and values for each pipeline run. How can you see this if you use a multi stage full yaml pipeline?

2
What have you tried? FWIW, if you mean by logging, then maybe something like this could help: docs.microsoft.com/en-us/azure/devops/pipelines/scripts/…Frank Alvaro
Look at the commit. That's your snapshot.Daniel Mann
@DanielMann, I have variables added thru linking variables groups plus added directly thru the UI via the provided Variables button, there is nothing in the commit.user2503480

2 Answers

1
votes

As a workaround I specificall added a custom task (ShaykiAbramczyk.printAllVariables.printAllVariables.printAllVariables@1) to print out the variables. This way you can see a Print Variable task on your runs. It will not print secrets as expected. This does the job, least until Devops team implementes this feature.

0
votes

If you want to see the snapshot of the variables defined in yaml file of pipeline run. You can check the yaml file of the commit that related to the pipeline run as Daniel mentioned.

enter image description here

If you have variables defined in the Variables tab in the pipeline UI page. You can see the variables snapshot from the History tab.

click the 3 dots of the yaml pipeline edit page and choose Triggers

enter image description here

enter image description here