Forum Discussion
SantiSossa
Jun 26, 2023Copper Contributor
Problem with output variables in Self Hosted Agent
I have the following sample code that I implement using Azure DevOps pipelines and it works without problem, I can see the value of the SAUCE variable in all the tasks in my Job. Then I run it ...
Kidd_Ip
Sep 02, 2025MVP
How about using a Regular Variable:
If you only need the variable within the same job:
echo "##vso[task.setvariable variable=sauce]crushed tomatoes"
This will make $SAUCE available to all subsequent steps in the same job.