We are happy to announce that the following features are ready for Windows Runners
Cache: https://support.atlassian.com/bitbucket-cloud/docs/cache-dependencies/
Artifact: https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/
Test reports: https://support.atlassian.com/bitbucket-cloud/docs/test-reporting-in-pipelines/
Select Runners in Repository settings or Workspace runners in Workspace settings under the Pipelines header to get the latest runner.
However, there are some limitations regrading these features:
Share caches between different OS: As a best practice, it is recommended not to share cache between different types of runners, such as a cloud runner and a Windows runner, because caches could contain platform specific files that do not work in other operating systems. This might lead to errors occurring when a Windows runner is trying to use a .dll file that is specifically generated for Linux.
Bloated cache folder: Due to performance implications, we do not clean up the cache folder at the end of step execution which means the size of related cache directories could increase rapidly, especially for a workspace runner. If that occurs, we recommend creating a scheduled task to clean up cache folders on a regular basis. You can refer to following documentation to see how to setup a scheduled task with PowerShell: Get-ScheduledTask (ScheduledTasks).
Be aware that we don’t put any restrictions on where is your cache folder is located, so technically you can define whatever folder you like, even c:\windows
. Be mindful about any technical implications and make sure your hosted machine is recoverable.
lliang2
3 comments