diff --git a/build.gradle b/build.gradle index fefc284..c2416ff 100644 --- a/build.gradle +++ b/build.gradle @@ -212,8 +212,8 @@ project.tasks.withType(Test).configureEach { exceptionFormat "full" } - println("TEST_SERVER_URL: ${System.getenv("TEST_SERVER_URL")}") - println("TEST_SERVER_URL(上書き): ${System.getenv("TEST_SERVER_URL") ?: "http://localhost:3000"}") + println("${project.name}:${name} / TEST_SERVER_URL: ${System.getenv("TEST_SERVER_URL")}") + println("${project.name}:${name} / TEST_SERVER_URL(上書き): ${System.getenv("TEST_SERVER_URL") ?: "http://localhost:3000"}") environment([ "ANDROID_HOME": System.getenv("ANDROID_HOME"), diff --git a/src/test/groovy/com/deploygate/gradle/plugins/internal/http/ApiClientSpec.groovy b/src/test/groovy/com/deploygate/gradle/plugins/internal/http/ApiClientSpec.groovy index 59cdfa8..9ce2154 100644 --- a/src/test/groovy/com/deploygate/gradle/plugins/internal/http/ApiClientSpec.groovy +++ b/src/test/groovy/com/deploygate/gradle/plugins/internal/http/ApiClientSpec.groovy @@ -32,7 +32,7 @@ class ApiClientSpec extends Specification { def endpoint = System.getenv("TEST_SERVER_URL") - println("endpoint: $endpoint") + throw new AssertionError("endpoint is $endpoint") def client = new HttpClient(endpoint) { private final Property nkProp = project.objects.property(String)