I am troubleshooting a git issue with self hosted runner on windows. I feel it is lot easier if the runner leaves behind cloned dir as it is instead of cleaning it up.
Wondering if there is any YML directive or some other setting to tell runner to disable cleanup step.
Thanks
G'day!
At the end of each step in a pipeline, the runner automatically cleans up build directories (folders) before running the next step. If the runner can’t perform this cleanup, it will enter an Unhealthy state and this can prevent Pipelines from being able to execute.
For this reason, I am unaware if it is possible to disable the clean-up step on a build within runners as this would not be recommended.
We have documentation outlining how to check the log files for Windows Runners available at the following link - this way you can check to see any errors which are encountered during the build:
https://support.atlassian.com/bitbucket-cloud/docs/troubleshooting-runners/
I have reached out to our developers accordingly to see if/how this can be configured and will get back to you once I hear from them.
Cheers!
- Ben (Bitbucket Cloud Support)
Hi again,
I've been informed that this is not possible - however, some ideas for a workaround are:
Hope this helps.
Cheers!
- Ben (Bitbucket Cloud Support)
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.