So I'm setting up a new build pipeline, which is quite complex, it is multi stage and inside the stages multi job.
But I run into problems because when I try to save some tasks by relying on the second and third job of one stage being executed in the same agent working folder. Of course this doesn't really work. It actually works sometimes, but sometimes not. I would expect the different jobs to either always run in the same folder as the job before or never, but not sometimes.
Anyway, so I was wondering if there is a way of restraining the entire stage or pipeline to a single working directory. Anybody any ideas? Thanks!!!