I am currently trying to set up a project which is depending on another project on bitbucket.
I can compile everything with no issue, but I want to optimize the build procedure.
The project that I am depending on is quite large and does not change that often.
I am facing an issue right now: I am cloning the project at one step defined in the pipeline file. This is working but it rebuilds and installs the artifact every time to the local repository, which is not necessary because the same version is already existing.
How can I check if the cache already includes a certain artifact before cloning & installing the same thing over and over again?