I'm using Classic pipeline in the Azure Pipelines. I have a multi-job pipeline. I'd like to get multi-job output variables from the first job and use as a condition on my second job. No matter how I setup, I just can't get the output variable from the first job.
I always get Null
for my output variables.
I'm sure I have been set the output variable:
I doubted that maybe the job name is unset. It because on the Web UI, I can only set displayName
for a job. I can't really set a job name for a job.
I'd like to know that, is it possible to set job name on it when using classic design for a pipeline. Or how can I get the output variables from my second job and set as a condition?
See also: Use the output variable from a job in a condition in a subsequent job
docs link. It's better to use yaml.