Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for useHostname (0.15 sec)

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

        }
    
        def "can publish maven publication metadata to non-authenticating remote repository"() {
            with(server) {
                // or else insecure protocol enforcement is skipped
                useHostname()
                start()
            }
            def remoteRepo = new MavenHttpRepository(server, mavenRepo)
    
            def repositoryName = "testrepo"
            settingsFile "rootProject.name = 'root'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

                defaultTasks 'doStuff'
    """
    
            then:
            succeeds()
        }
    
        def "emits useful warning when applying script via http"() {
            when:
            server.useHostname()
            def script = file('external.gradle')
            server.beforeHandle {
                fail("No requests were expected.")
            }
    
            script << """
                task doStuff
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

            with (server) {
                requireAuthentication(username, password)
                // or else insecure protocol enforcement is skipped
                useHostname()
                start()
            }
            def remoteRepo = new IvyHttpRepository(server, ivyRepo)
    
            settingsFile "rootProject.name = 'root'"
    
            def credentialsBlock
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            withBuildCache().run "jar"
    
            then:
            skipped(":compileJava")
        }
    
        def "throws exception when using plain HTTP"() {
            when:
            httpBuildCacheServer.useHostname()
            settingsFile.text = useHttpBuildCache(httpBuildCacheServer.uri)
    
            then:
            withBuildCache().fails("jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top