Summary of the feature request or feedback
Hello there,
I am trying to play with pipelines and I would like to know if a stage can access of the files of another stage ?
Example: Stage 1: Clone projet, Stage 2: Install Dependencies
I saw that we can pull artifacts, is that where i need to search ?
Or maybe I don’t understand what pipelines really are ?
Thanks
Hey @martinfrouin
Yes, Workflows in a subsequent stage can access the artifacts/files of a previous stage if they were deployed via the Deploy to Bitrise.io Step.
Basically you’d need to use two steps:
-
The Deploy to Bitrise.io Step
for uploading the artifacts.
-
The Artifact Pull Step
for downloading the artifact from the previous stage.
Here is a related article: Checking your Pipelines - Bitrise Docs
And here is an example recipe (here the test bundle generated in the first stage is shared with the subsequent Workflows): workflow-recipes/ios-run-tests-in-parallel-on-multiple-simulators.md at main · bitrise-io/workflow-recipes · GitHub
BTW here are some other recipes for Build Pipelines, they may help:
Android
iOS
Thanks for your answer @BirmacherAkos.
So I can’t use the files of another workflow with pipelines unless i zip it and deploy it using Deploy to Bitrise.io step ?
Yes, as each workflows are running on different machines.
1 Like
Hi @BirmacherAkos ,
after * The Deploy to Bitrise.io Step
for sharing the file, I can see those files in another workflow. But how to delete those shared file after all pipeline is done? I still saw those shared zip file in Artifact when the build is done