Use environment variable for getting TEAMCITY_VERSION
This commit is contained in:
committed by
TeamCityServer
parent
02e37dceeb
commit
3757bd0c1f
@@ -11,7 +11,7 @@ import java.io.IOException
|
||||
import kotlin.io.path.*
|
||||
|
||||
object GeneratorsFileUtil {
|
||||
val isTeamCityBuild: Boolean = System.getProperty("TEAMCITY_VERSION") != null
|
||||
val isTeamCityBuild: Boolean = System.getenv("TEAMCITY_VERSION") != null
|
||||
|
||||
@OptIn(ExperimentalPathApi::class)
|
||||
@JvmStatic
|
||||
|
||||
Reference in New Issue
Block a user