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

Artifacts from the build step are not saving.

Andrew211Official July 17, 2019

Hi All,

Just trying out bitbucket for CI/CD and having a simple, however obviously critical issue, artifacts don't seem to be saving from the build step of a pipeline.

No errors, probably something super simple I'm overlooking.

Here's the debugging version of the build step from bitbucket-pipelines.yml

 

pipelines:
branches:
master:
- step:
image: node:10.15.0
name: Build
script:
- cd app
- npm install
- npm run build
- ls
- ls ./dist
artifacts:
- dist/**

 

Attached screenshots of the build output and empty artifacts tab.

 

Anyone got any suggestions?

 

Thanks heaps.artifacts.PNGbuild.PNG

1 answer

1 accepted

0 votes
Answer accepted
Andrew211Official July 17, 2019

lol, my bad, sorry! 

 

artifacts:
- app/dist/**
Omkar posam January 5, 2023

Hi I have similar problem can you help?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events