Does 2 multistage pr running at same time use same workspace and mix output

Patil, Prreeya 20 Reputation points
2026-11-05T08:52:21.5933333+00:00

when 2 pr has been running simultaneously , as pipeline is multistage. 1 stage runs of 1 pr and it runs 1 stage from other pr, then 2nd stage of 1st pr..so its zigzag.. so does the output get mixed..

as i checked the logs, both pr are using "_work\1\s" workspace.

Azure DevOps
0 comments No comments

1 answer

Sort by: Most helpful
  1. Patil, Prreeya 20 Reputation points
    2026-11-05T08:58:11.7566667+00:00
    • powershell: | Write-Host "Run=$(Build.BuildId)" Write-Host "Agent=$(Agent.Name)" Write-Host "Machine=$(Agent.MachineName)" Write-Host "Workspace=$(Pipeline.Workspace)" Write-Host "Sources=$(Build.SourcesDirectory)"

    i have checked this values by running it in pipeline, agent is same for both pr, but buildid is different..rest all things are same for both pr.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.