Shared Resources & Build Trigger Logic

Answered

 

My project:

  • uses 2 build agents
  • uses 2 environments for testing (auto1 and auto2)
  • have declared test environments (auto1 and auto2) as Shared Resources

Trying to figure this out:

  • If a build is triggered for auto1, then subsequent requests for auto1 needs to be queued
  • If two builds are triggered for auto1 and auto2, simultaneously, then both can be run in parallel

Really appreciate the help! Thanks.

 

1 comment

If you define "write lock" for the auto1/auto2 resource, then only a single build can be run in parallel and this should fulfill your case

0

Please sign in to leave a comment.