pipelines:
pipeline-release-all:
stages:
- stage-setup: {}
- stage-test: {}
- stage-version-all: {}
- stage-publish-all: {}
- stage-finish: {}
I have this pipeline which calls the git-clone step in the setup stage. I’ve found that I have to clone the repo in every stage in order to call things like bash ${BITRISE_SOURCE_DIR}/scripts/config-whatever. Unless I clone the repo at the start of every stage, I get file not found errors etc.
Is there a way to clone it once at the beginning and make it accessible to subsequent stages?