Is it possible to store artifact into Circle CI during the multi-stage build?

旧城冷巷雨未停 提交于 2019-12-24 19:04:37

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!