in plugin-unity-agent/src/main/kotlin/jetbrains/buildServer/unity/license/commands/UnityLicenseCommand.kt [36:49]
override fun processFinished(exitCode: Int) {
LOG.debug("License command \"$commandName\" has finished with exit code: $exitCode")
if (exitCode != 0) {
context.buildLogger.warning("Process exited with code $exitCode. Unity log:${lineSeparator()}${readLogFile()}")
}
if (LOG.isDebugEnabled) {
LOG.debug("Unity log:${lineSeparator()}${readLogFile()}")
}
context.buildLogger.logMessage(createBlockEnd(commandName, BUILD_LOG_BLOCK_TYPE))
onFinish(exitCode)
}