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

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

Cannot run Bamboo build specs on Docker in Windows 10

I have local installation of Bamboo 6.9.1 in Windows 10 machine.

Docker 18.09.2 with Hyper-V containers (default option)

Settings:

-expose daemon on port 2375 without TLS

-local drive C: shared to container

Repository Stored Specs security settings :

Enable Repository Stored Specs - checked

Process Bamboo Specs in Docker -checked

Docker image(required) : 'atlassian/bamboo-specs-runner:6.9.1'.

 

When i'm trying to process build specs, I have error:

 

Processing Specs within Docker containerUnable to scan repository bamboo-specs gh (753665) for Bamboo Specs
com.atlassian.bamboo.repository.RepositoryException: Unable to scan repository bamboo-specs gh (753665) for Bamboo Specs
	at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.lambda$runSpecsWithDocker$9(RepositoryStoredSpecsServiceImpl.java:864)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
	at java.lang.Thread.run(Thread.java:748)
Caused by: com.spotify.docker.client.exceptions.DockerRequestException: Request error: POST http://localhost:2375/containers/create?name=bamboo-specs-685e946f-716d-4b1d-a92e-35c3aa66aa42: 400, body: {"message":"the working directory '\\mnt\\input' is invalid, it needs to be an absolute path"}

 

Looks like directory path in wrong format, passed to docker process. But how I can control over this ?  

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

670 views 1 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