Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

can't open '$BITBUCKET_PIPE_SHARED_STORAGE_DIR/aws-lamda-deploy-env': No Such file or directory

rizwanaparveen.abdulla
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2020

Running pipe aws-lambda-deploy  shows writing result to the $BITBUCKET_PIPE_SHARED_STORAGE_DIR/aws-lamda-deploy-env but when I try to Open it shows no file/ Directory

2 answers

1 accepted

0 votes
Answer accepted
John C June 10, 2020

I worked around this by using:

 

VERSION=$(jq  --raw-output '.Version' /opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/aws-lambda-deploy-env)

 

Not ideal but it's allowed my pipeline to work 

0 votes
Malte Hübner
Contributor
December 15, 2021

Must be a bug because here you can find an example of a correct usage: https://bitbucket.org/blog/updates-to-bitbucket-pipes.

For example: To access the aws-lambda-deploy-env file from the aws-lambda-deploy pipe you would write:

cat $BITBUCKET_PIPE_SHARED_STORAGE_DIR/atlassian/aws-lambda-deploy/aws-lamda-deploy-env


It's just what @rizwanaparveen.abdulla tried to achieve.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events