소스 검색

Avoid building docker images when running precommit task (#45211)

Mark Vieira 6 년 전
부모
커밋
e7cdc6777d
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      distribution/docker/build.gradle

+ 4 - 4
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