Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,380
Community Members
 
Community Events
184
Community Groups

Running Bamboo Jobs in a Docker Container Fails with Perforce Clean Build

We use Bamboo and Perforce quite happily for 10 years now. We usually configure Bamboo to perform a clean perforce checkout for each build. Our current version of Bamboo is 6.9.2, running on a Centos host, as well as our build agents.

We are trying to get better isolation between tests so we are playing with docker containers to run our build and tests. Unfortunately, it seems Bamboo configure the docker container with a dedicated volume for the run (--volume ${bamboo.working.directory}:${bamboo.working.directory}) where the check out is done, and then delete this directory on the Docker host as part of its clean build procedure with Perforce. This directory is then recreated, the perforce content is properly downloaded. but the docker container still references the old one which is now empty (only the directory lives until the container is destroyed.). The job execution fails as no file is found.

The only workaround is to avoid clean builds, but I would prefer a solution where the clean build is possible.

Is this a known bug? Are there any other suitable workaround?

 

Thanks for your help.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events