- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for getenv (0.8 sec)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
val isCiServer = CI_ENVIRONMENT_VARIABLE in System.getenv() val isTravis = "TRAVIS" in System.getenv() val isGhActions = "GITHUB_ACTIONS" in System.getenv() val isTeamCity = "TEAMCITY_VERSION" in System.getenv() val isTeamCityParallelTestsEnabled get() = "TEAMCITY_PARALLEL_TESTS_ENABLED" in System.getenv() val isCodeQl: Boolean by lazy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 16:58:31 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableRead.groovy
package org.gradle.internal.cc.impl.inputs.undeclared abstract class EnvVariableRead extends BuildInputRead { static EnvVariableRead getEnv(String name) { return new EnvVariableRead() { @Override String getKotlinExpression() { return "System.getenv(\"$name\")" } } } static EnvVariableRead getEnvGet(String name) { return new EnvVariableRead() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/Environment.kt
listener.systemPropertiesPrefixedBy(prefix, snapshot) } override fun getVariables(): Environment.Properties = TrackingProperties(System.getenv()) { prefix, snapshot -> listener.envVariablesPrefixedBy(prefix, snapshot) } private class TrackingProperties( map: Map<String, String>,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableInjection.groovy
// We can't "unset" the variable with the API executer provides, but it isn't necessary, thanks to the filtering in // build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt if (System.getenv().containsKey(key)) { throw new IllegalStateException("Environment variable $key is present for this process and may affect tests") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject else -> project.gradle.parent?.rootProject } if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) { val rootProjectName = rootProject.name val isInBuildLogic = rootProjectName == "build-logic" gradle.taskGraph.whenReady {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 03:34:53 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy
} def "reports build logic reading environment variables with getenv(String) using GString parameters"() { // Note that the map returned from System.getenv() doesn't support GStrings as keys, so there is no point in testing it. buildFile << ''' def ci = "ci" def value = "value" println "CI1 = " + System.getenv("${ci.toUpperCase()}1") ''' when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 36K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt
Base64.getDecoder().decode(getKeyAsBase64()).let { keyAsBytes -> SecretKeySpec(keyAsBytes, encryptionAlgorithm) } } private fun getKeyAsBase64(): String = System.getenv(GRADLE_ENCRYPTION_KEY_ENV_KEY) ?: "" override fun getKey(): SecretKey = secretKey override val sourceDescription: String get() = "$GRADLE_ENCRYPTION_KEY_ENV_KEY environment variable"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 17.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy
outputContains("apply = $newValue") outputContains("task = $newValue") where: envVarRead | value | newValue EnvVariableRead.getEnv("CI") | "true" | "false" EnvVariableRead.getEnvGet("CI") | "true" | "false" EnvVariableRead.getEnvGetOrDefault("CI", "default") | "true" | "false" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13.4K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} executionMode = ExecutionMode.valueOf(args[0]); if (executionMode == ExecutionMode.KILL_PROCESSES_STARTED_BY_GRADLE && !Boolean.parseBoolean(System.getenv("GRADLE_RUNNER_FINISHED"))) { // https://github.com/gradle/gradle-private/issues/3991
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 11.3K bytes - Viewed (0)