Bamboo & Perforce & Label's?

Quick question.... we use Bamboo 2.5.1 (download) and Perforce source control here at work and I am struggling to achieve something which on the face of it should be fairly straighforward.

I am trying to get a Bamboo plan to to grab a Perforce label rather than just the latest/head of a perforce repository and I just can't figure out how this can be done.

The scenario is that I have a "Release" plan that has been labeled in Perforce (dev changes may have been made since the label was applied) and I want this plan to go against the tested label rather than the head.

Anybody got any ideas?

1 answer

You're supposed to be able to do this via the "Depot View" field in the source repository configuration, but it's broken. If it were working correctly, you would enter something like this for the field value:

//autobuild::main-dist/...@myLabel (where autobuild::main-dist is the name of the workspace used by the plan)

There is a support issue here https://jira.atlassian.com/browse/BAM-8773 , which is "resolved" although the issue is still present.

I wish Atlassian spent as much effort on supporting Perforce as it does for Mercurial or Git. Replacing the outdated Tek42 P4Java with Perforce's own P4Java API would be a nice move, IMO.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
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,572 views 0 6
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