override fun preparationFinished()

in plugin-unity-agent/src/main/kotlin/jetbrains/buildServer/unity/license/UnityBuildScopeLicenseActivator.kt [36:45]


    override fun preparationFinished(build: AgentRunningBuild) {
        if (!build.entireBuildLicenseScope()) {
            return
        }

        val command = ActivateProLicenseCommand(getLicenseCommandContext(build))
            .withUnityEnvironment(toolProvider.getUnity(build))

        commandLineRunner.execute(command, build.buildLogger)
    }