teamcity-unity-plugin
teamcity-unity-plugin copied to clipboard
Support custom Unity home paths
Being able to force the path in the build configuration, or via an environment variable which can be adjusted on a per-config basis would be useful.
We store all our Unity installs in C:\Unity* - it'd be nice if we could get the option to change the search directory from Program Files, et al - to there.
Originally posted by @AdamFrisby in https://github.com/JetBrains/teamcity-unity-plugin/issues/6#issuecomment-461132407
@AdamFrisby, in the latest plugin build you could specify environment variable UNITY_HINT_PATH=C:\
on your build agents to find Unity installations in C drive root folder.
Being able to force the path in the build configuration, or via an environment variable which can be adjusted on a per-config basis would be useful.
Is not enough for you to have "Unity version" parameter in the Unity build runner?
It generally is enough yes. The only case I can see where it wouldn't be, would be us using patch versions simultaneously (often they're buggy/unstable, but fix a bug we need for test builds)
Closing as in the recent versions of the plugin, it's possible to set a custom path to Unity to be used in the build by selecting "manual" detection mode. Feel free to reopen if it doesn't work in your scenarios