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

Access files inside a pipe

Ming Han Chung June 9, 2020

Hello, there are some library files that I need access to from the python script in my pipe. My python script runs but can't find any of those libraries that it needs.

1 answer

0 votes
mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2020

Your docker image should contain all the neccesary library for the pipe to function? Please have a look at the documentation at https://support.atlassian.com/bitbucket-cloud/docs/write-a-pipe-for-bitbucket-pipelines/#Step-3---Configure-the-Dockerfile Specifically Step3 Configure the Dockerfile

Ming Han Chung July 21, 2020

I found the issue. Since when pipes are being used the repos files are located in the build folder, to access any other files other than the main pipe.sh you need to go to the root folder.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events