From bb7f46da62380d953cdc2f83a1aa230979c4ba51 Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Tue, 6 Aug 2019 09:00:25 -0700 Subject: [PATCH] Avoid building docker images when running precommit task (#45211) --- distribution/docker/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/distribution/docker/build.gradle b/distribution/docker/build.gradle index 3af0226b0af..16dc03dc83e 100644 --- a/distribution/docker/build.gradle +++ b/distribution/docker/build.gradle @@ -128,15 +128,15 @@ processTestResources { from project(':x-pack:plugin:core') .file('src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks') dependsOn configurations.restSpec - // don't add the tasks to build the docker images if we have no way of testing them - if (TestFixturesPlugin.dockerComposeSupported()) { - dependsOn assemble - } } task integTest(type: Test) { maxParallelForks = '1' include '**/*IT.class' + // don't add the tasks to build the docker images if we have no way of testing them + if (TestFixturesPlugin.dockerComposeSupported()) { + dependsOn assemble + } } check.dependsOn integTest