问题
I have test
and deploy
paths into the workflow and when I sequentially execute them deploy
overrides artifact
.
Is it possible to keep it, so it will be passed from stage to stage sequentially? Store artifact
into Slack
or any other system is not an option due to limitations in the development environment.
回答1:
The Circle CI
provides the solution through workspace.
To share artifact
or any set of files, you need to persist_to_workspace
into the test
stage and attach_to_workspace
on the deploy
stage.
The only catch is to persist artifact
on the deploy
phase. workspace
itself is available for not more than 30 days.
来源:https://stackoverflow.com/questions/58416012/is-it-possible-to-store-artifact-into-circle-ci-during-the-multi-stage-build