Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkEnvironmentVariableUnset (0.39 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableInjection.groovy

                @Override
                void setup(AbstractConfigurationCacheIntegrationTest test) {
                    test.executer.withEnvironmentVars(variables)
                }
            }
        }
    
        static void checkEnvironmentVariableUnset(String key) {
            // 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
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

                println("CI = " + ${envVarRead.groovyExpression})
            """
            def configurationCache = newConfigurationCacheFixture()
    
            when:
            EnvVariableInjection.checkEnvironmentVariableUnset("CI")
            configurationCacheRun()
    
            then:
            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top