@Theodora Boudale
If in my script in the first step I'm doing:
- git clone -b develop git@bitbucket.org:project/my-android-client.git ./../androidClient
after saving it to the artifacts:
artifacts:
- ./../androidClient
it doesn't save it to artifacts
Is it possible to reuse the already cloned project in the first step
Hi @Edgar Khimich,
The reason that the clone directory is not saved in artifacts is that it is outside BITBUCKET_CLONE_DIR:
You are cloning the repo in ./../, which is outside the clone directory of the repo where Pipelines is running. Only files in BITBUCKET_CLONE_DIR can be defined as artifacts, so what you can do here is clone the second repo inside BITBUCKET_CLONE_DIR
- git clone -b develop git@bitbucket.org:project/my-android-client.git androidClient
and then define the artifact as follows:
artifacts:
- androidClient/**
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome @Edgar Khimich.
Just a heads up, I forgot to mention yesterday, I moved your post to a separate question because the topic and your use case are a bit different than the original post where you replied.
Please feel free to let me know if you need anything further!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.