- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for withEnvironmentVars (0.49 sec)
-
platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/InMemoryPgpSignatoryProviderIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 12K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy
String path = String.format('%s%s%s', Jvm.current().javaExecutable.parentFile, File.pathSeparator, System.getenv('PATH')) then: executer.withEnvironmentVars('PATH': path).withJavaHome('').withArguments(expectedJavaHome).withTasks('checkJavaHome').run() } @Requires(IntegTestPreconditions.NotEmbeddedExecutor)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:22 UTC 2024 - 12K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGradlePropertiesIntegrationTest.groovy
""" when: executer.withEnvironmentVars([ (ENV_PROJECT_PROPERTIES_PREFIX + 'gradleProp'): 1 ]) configurationCacheRun "help" then: outputContains '1!' configurationCache.assertStateStored() when: executer.withEnvironmentVars([ (ENV_PROJECT_PROPERTIES_PREFIX + 'gradleProp'): 1 ])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy
@ToBeFixedForConfigurationCache @Requires(IntegTestPreconditions.IsDaemonExecutor) def "does not download gradleApi() sources when sources download is disabled"() { given: executer.withEnvironmentVars('GRADLE_REPO_OVERRIDE': "$server.uri/") buildScript """ apply plugin: "java" apply plugin: "idea" apply plugin: "eclipse" dependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 20.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy
} } """ when: withEnvironmentVars(GREETING: "hi") configurationCacheRun("greet") then: output.count("Hi!") == 1 configurationCache.assertStateStored() when: withEnvironmentVars(GREETING: "hi") configurationCacheRun("greet") then: output.count("Hi!") == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 28K bytes - Viewed (0) -
platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningSamplesSpec.groovy
def "uses in-memory PGP keys with dsl #dsl"() { given: def projectDir = sample.dir.file(dsl) inDirectory(projectDir) when: executer.withEnvironmentVars([ ORG_GRADLE_PROJECT_signingKey: secretKey, ORG_GRADLE_PROJECT_signingPassword: password ]) succeeds("signStuffZip") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy
} """ when: executer.withEnvironmentVars(ci: "1") configurationCacheRun("-Dci=1", "build") then: configurationCache.assertStateStored() outputContains("ON CI") when: "changing the value of the input doesn't invalidate cache" executer.withEnvironmentVars(ci: "2") configurationCacheRun("-Dci=2", "build") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy
) { def allArgs = tasks + getEncryptionOptions(kind) + additionalArgs + ["-s"] // envVars overrides encryption env vars def allVars = getEncryptionEnvVars(kind) + envVars executer.withEnvironmentVars(allVars) runner(*allArgs) } private List<String> getEncryptionOptions(EncryptionKind kind = EncryptionKind.KEYSTORE) { switch (kind) { case EncryptionKind.KEYSTORE:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpRepoResolveIntegrationTest.groovy
when: projectA.pom.expectGet() projectA.artifact.expectGet() projectB.pom.expectGet() projectB.artifact.expectGet() and: executer.withEnvironmentVars(M2_HOME: m2Home.absolutePath) run 'retrieve' then: file('libs').assertHasDescendants('projectA-1.0.jar', 'projectB-1.0.jar') def snapshot = file('libs/projectA-1.0.jar').snapshot()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy
GarbageCollectorUnderTest garbageCollector def setup() { garbageCollector = version executer.withBuildJvmOpts(garbageCollector.configuration.jvmArgs.split(" ")) executer.withEnvironmentVars(JAVA_TOOL_OPTIONS: "-D${DefaultGarbageCollectionMonitor.DISABLE_POLLING_SYSTEM_PROPERTY}=true") } def "does not expire daemon when performance monitoring is disabled"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 14.2K bytes - Viewed (0)