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

Access files put to the custom image

I use custom docker image from a private registry as a build environment in one of my pipeline's steps. This image contains some files which I would like to access during the step execution. However, when I enter the step and execute the `ls` command, all I see is the content of my repository.

To be precise, my backend service and integration tests reside in separate repositories. My pipeline is triggered by pull requests in the backend repository. In order to run integration tests in the pipeline, I `COPY`ed my tests to the image that I use as a build environment. Now, when I enter the step with integration testing, I cannot execute `./gradlew clean test`, getting 'no such file or directory' exception.
Can I access the files put to my custom image? Do they necessarily have to be present in the repo that runs the pipeline?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

389 views 0 1
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