The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Unable to get the artifacts

SAGAR PAWADI
April 9, 2022

Hi Team,

##Here is my pipeline

image: node:16.14.2-alpine
pipelines:
default:
- step:
name: Install NPM
clone:
enabled: false
script:
- node -v
- npm install npm@latest -g
- npm -v
caches:
- node
- step:
name: Linting to check code quality
clone:
enabled: false
script:
- echo "yet to add ng lint, Holding here as its opening up many bad code std errors"
- step:
name: Build and Install Satellite Modules
script:
- cd satellite/
- mkdir projects/corelib/dist
- echo "Install Angular CLI"
- npm install @angular/cli@latest -g
- ng --version
- npm install --save-dev @angular/cli@latest --force
- ng --version
- echo "Building Corelib Module"
# - ng build corelib
- npm run build corelib
- npm install corelib
caches:
- node
artifacts:
# - dist/**
- /opt/atlassian/pipelines/agent/build/satellite/library/corelib/*
My Pipeline job is successful but not able to see "Artifacts" in the Artifacts section - Pls help on this.
Artifact_Not_Found.PNG

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2022

G'Day @SAGAR PAWADI 

Could you share with me the build teardown output of your pipeline? I suspect that the artifacts did not get generated at all from the path given.

Can you change the artifact URL to the following instead as you don't have to use the full path of the clone dir :

artifacts:
- satellite/library/corelib/**

Let me know how it goes.

Cheers,
Syahrul

TAGS
AUG Leaders

Atlassian Community Events