Perforce workspace per build plan in Bamboo?

Per the documentation:

Do not create two Plans/Jobs that use the same client (e.g. one client set to manage, the other client set to not manage). This setup will create major issues in your builds.

Am I really expected to create a new workspace for every build plan? Is there any way to use a single workspace on multiple build plans?

2 answers

Hi,

The idea is that you dont want two things accessing the client at the same time. So if a circumstances arises where PLAN B suddenly starts building while the PLAN A is still going, PLAN B would cause a sync on that workspace, resulting in the first half of PLAN A building one revision and the second half building another revision.

You might be able to use the same client, for e.g. multiple jobs in a plan (if each job is in its own stage). Or, if you can guarentee none of the plans are going to execute at the same time (e.g. you only have one agent).

You may also be able to use the same client if your provide a different depot view for each plan. However I have not tested this.

In either of these scenarios you should not select the "manage my workspace" option.

Cheers,

Brydie

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot