teamcity-unity-plugin
teamcity-unity-plugin copied to clipboard
Use new Accelerator Cache Server
Currently there's no way to use the new accelerator cache server for Unity (available since 2019.3) as the command line arguments are different.
Old: -CacheServerIPAddress
New: -EnableCacheServer
and -cacheServerEndpoint
.
This change updates the command line arguments to use the new one.
Obviously this has an impact on unity version compatibility, but I'm not completely sure how to handle that in the code, and I'm not convinced it's correct currently anyway as the readme states version 2017+ but even the old/current argument was only made available in 2018 as far as I can tell, so I think the three options are:
- Change version compatibility of this plugin to support only unity 2019.3+
- Keep things as they are, Presuming the argument is just ignored on older versions currently?
- Update code to add options to choose new/old cache server and also only make the option(s) available on versions that support them