Hello,
I'm trying to configure build using bitbucket pipelines on self-hosted Windows machine.
However, I can't access SSH repository URL via "BITBUCKET_GIT_SSH_ORIGIN" variable like in this example:
git remote set-url origin ${BITBUCKET_GIT_SSH_ORIGIN}
I tried "<strong>git remote set-url origin $BITBUCKET_GIT_SSH_ORIGIN</strong>" and also "<strong>echo BITBUCKET_GIT_SSH_ORIGIN"</strong>. The latter command was supposed to print git repository SSH url but it didn't.
It looks like this variable is not defined for Windows. I managed to workaround this by setting SSH url directly in the bitbucket-pipelines.yml file.
Has anyone experienced the same issue? Is there a way to access SSH url on Windows?
Thanks in advance.