YAML Automation

Cross-Job Communication: Mastering dependencies and Output Variables

Cross-Job Communication: Mastering dependencies and Output Variables

You’ve successfully calculated a version number in Job A. Now you need to use that number to tag an image in Job B. You try to access the variable, but it comes up empty. You try $(JobA.myVar), then $[ dependencies.JobA.outputs['task.myVar'] ]. Still nothing. Frustration sets in. Why is it so hard …