浏览代码

Always finalize AntFixture by AntStopTask

- applies a more strict finalize rule for any antfixture executed in the build
- Related to #66377
Rene Groeschke 4 年之前
父节点
当前提交
ebbe8cab2f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      buildSrc/src/main/groovy/org/elasticsearch/gradle/test/AntFixture.groovy

+ 1 - 0
buildSrc/src/main/groovy/org/elasticsearch/gradle/test/AntFixture.groovy

@@ -231,6 +231,7 @@ class AntFixture extends AntTask implements Fixture {
         stop.configure {
         stop.configure {
             it.fixture = fixture
             it.fixture = fixture
         }
         }
+        fixture.finalizedBy(stop)
         return stop
         return stop
     }
     }