Phonesis;8606 wrote:
Thanks Remco, much appreciated. Will try this. In your link, it mentiones the path must be relative to the solution? Can I do something like:
<NCrunchCacheStoragePath>C:\NCrunchCacheFiles\</NCrunchCacheStoragePath>
Yes! That should work correctly. The configuration setting will accept absolute file paths since v2.20.
Phonesis;8606 wrote:
Am I right in saying that passing in the engine mode via the /E parameter for the NCrunch.exe should allow the grid machines to switch modes? The modes themselves are defined in the solution level ncrunch config file by looks of it. Do they need to be added to any other config files such as the global one that sits on the controller machine?
The modes are defined in the .ncrunchsolution file. They only exist in this file - there's no need to place them in your global config. Normally, the .ncrunchsolution file should be checked into your VCS, so it should be present on the CI server. The grid nodes don't care about engine modes, as the engine modes are a client-side concept that is used in deciding which tests can be added to the processing queue.
The grid nodes themselves are actually quite 'stupid'. They don't have much knowledge of the state of the NCrunch engine. They simply request work from clients that have connected to them, then provide the results back to the client. In this case, the client is the CI server running NCrunch.exe.