Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for environmentVariables (0.25 sec)

  1. platforms/documentation/docs/src/snippets/buildCache/integration-tests/kotlin/build.gradle.kts

    }
    
    tasks.integTest {
        jvmArgumentProviders.add(
            objects.newInstance<CiEnvironmentProvider>().apply {  // <3>
                agentNumber = providers.environmentVariable("AGENT_NUMBER").orElse("1")
            }
        )
    }
    // end::ignoreSystemProperties[]
    
    // tag::environment[]
    tasks.integTest {
        inputs.property("langEnvironment") {
            System.getenv("LANG")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            when:
            EnvVariableInjection.environmentVariable("CI", value).setup(this)
            configurationCacheRunLenient "thing"
    
            then:
            configurationCache.assertStateLoaded()
            problems.assertResultHasProblems(result)
            outputDoesNotContain("apply =")
            outputContains("task = $value")
    
            when:
            EnvVariableInjection.environmentVariable("CI", newValue).setup(this)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

                switch (operator) {
                    case 'systemProperty':
                        configurationCacheRun "printString", "-Dstring=$string"
                        break
                    case 'environmentVariable':
                        withEnvironmentVars(string: string)
                        configurationCacheRun "printString"
                        break
                }
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. build-logic/profiling/src/main/kotlin/gradlebuild.buildscan.gradle.kts

    import gradlebuild.basics.BuildEnvironment.isGhActions
    import gradlebuild.basics.BuildEnvironment.isTeamCity
    import gradlebuild.basics.BuildEnvironment.isTravis
    import gradlebuild.basics.buildBranch
    import gradlebuild.basics.environmentVariable
    import gradlebuild.basics.isPromotionBuild
    import gradlebuild.basics.kotlindsl.execAndGetStdoutIgnoringError
    import gradlebuild.basics.logicalBranch
    import gradlebuild.basics.predictiveTestSelectionEnabled
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:29:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.api.provider.ProviderFactory.xml

                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>credentials</td>
                </tr>
                <tr>
                    <td>environmentVariable</td>
                </tr>
                <tr>
                    <td>environmentVariablesPrefixedBy</td>
                </tr>
                <tr>
                    <td>exec</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    val Project.isBuildCommitDistribution: Boolean
        get() = providers.gradleProperty("buildCommitDistribution").map { it.toBoolean() }.orElse(false).get()
    
    
    fun Project.isInBuild(vararg buildTypeIds: String) = providers.environmentVariable("BUILD_TYPE_ID").orNull?.let { currentBuildTypeId ->
        buildTypeIds.any { currentBuildTypeId.endsWith(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 05:49:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

            tasks.withType(AbstractCheckOrUpdateContributorsInReleaseNotes.class).configureEach(task -> {
                task.getGithubToken().set(project.getProviders().environmentVariable("GITHUB_TOKEN"));
                task.getReleaseNotes().set(extension.getReleaseNotes().getMarkdownFile());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 10 11:32:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplier.java

                            while (matcher.find()) {
                                String envVariableName = matcher.group(1);
                                String envVariableValue = providerFactory.environmentVariable(envVariableName).getOrNull();
                                if (envVariableValue == null) {
                                    matcher.appendReplacement(resolvedValue, "\\${env." + envVariableName + "}");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

                maxHeap("128m")
                systemProperty("foo", "bar")
                jvmArgs("-Dbar=baz")
                defaultCharacterEncoding("UTF-8")
                enableAssertions()
                environmentVariable("foo", "bar")
                if (isOracleJDK) {
                    bootstrapClasspath(normaliseFileSeparators(systemSpecificAbsolutePath('foo')))
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/provider/ValueSource.java

     * </ul>
     *
     * @param <T> The type of value obtained from this source.
     * @param <P> The source specific parameter type.
     * @see ProviderFactory#environmentVariable(String)
     * @see ProviderFactory#systemProperty(String)
     * @see ProviderFactory#fileContents(RegularFile)
     * @see ProviderFactory#of(Class, Action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 13:02:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top