Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you