Details
-
Suggestion
-
Resolution: Duplicate
Description
Hi There,
I was surprised to find out that pipelines clones the repo to /opt/atlassian/pipelines/agent/build and does not allow customization of this path.
Pipelines allows us to use custom docker images (which is awesome BTW) which could contain all kinds of different environments, so why would there be an assumption that the user wants to clone the repo to the above location?
In my particular case, I am trying to replicate a developers machine where the repo is typically cloned somewhere in their home directory with the folder named the same as the repo (as opposed to build).
In the short term, I was able to work around this using a symlink:
ln -s "$PWD" /desired/path
I've come across a few other posts of people desiring this functionality as well [1], [2]