we've recently upgraded our build configurations to use Kotlin. We are currently running two TeamCity master instances - one production and one staging. They both run the same configuration. We currently have the use case of wanting to be able to enable a build feature on production and disable it on staging. It is not possible to disable the plugin globally on the staging instance because that breaks the Kotlin compilation process.
Is there currently any way to get a unique identifier of the instance that is compiling the Kotlin config during compilation?
Would you have any alternative suggestions for our use case?