I am triying to create a custom pipeline with Bitbucket by using a Windows runner (on my own PC) in order to automate my building process on Unity game engine.
I have configured the bitbucket-pipelines.yml and the runner correctly, but I need to know the exact path where my repository is been cloned in order to open the Unity project.
I cannot find the local repository because it seems to be cleared after the step has been executed.
The "script" section of my step on the bitbucket-pipelines.yml file looks like this:
Start-Process -wait -FilePath C:\"Program Files"\Unity\Hub\Editor\2020.3.2f1\Editor\Unity.exe -ArgumentList "-batchmode","-nographics", "-quit", "logFile ./logbuild.log","-projectPath [THIS IS THE UNKNOWN INFO]", "-executeMethod BuildScript.PerformBuild"
Which is the exact path where the project is been cloned?
Thank you so much.