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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,901
Community Members
 
Community Events
184
Community Groups

Build fails with out/doctor-alt.tar.gz: Cannot open: No such file or directory

Achala Dissanayake
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!
May 24, 2023
alt:
- step:
name: build (alt)
caches:
- node
script:
- echo "Building..."
- npm install -f && npm install -g @angular/cli && mkdir -p out/
- npm run build:alt && tar --owner=0 --group=0 --numeric-owner -czvf out/doctor-alt.tar.gz -C dist/ .
- npm run build:training && tar --owner=0 --group=0 --numeric-owner -czvf out/doctor-training.tar.gz -C dist/ .
artifacts:
- out/*
- step:
name: upload
script:
- echo "Uploading artifacts to S3..."
- pipe: atlassian/aws-s3-deploy:0.3.2
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: 'eu-west-2'
S3_BUCKET: 'build-artifacts'
LOCAL_PATH: 'out'

 

 

Error

 

pipeline-error.png

 

This pipeline was running for a longtime without any issue. Suddenly this came up without changing anything to the bitbucket-pipelines.yml file or env variables

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 25, 2023

Hello @Achala Dissanayake and welcome to the Community!

The error returned in the logs is usually related to the file in question (out/doctor-alt.tar.gz) not existing at the location or path the build process is expecting it to be in. I see you have opened an internal ticket with us related to this issue and one of our support engineers is already working on that ticket. Once the ticket is resolved, feel free to share the solution here, so other users that might face the same issue in the future can try similar steps.

Thank you, @Achala Dissanayake !
Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events