* Related to #51541: [CI] unknown setting [xpack.eql.enabled] in release-tests
This commit is contained in:
parent
9dcc3ef7e6
commit
0d21d9e2c5
|
@ -1,3 +1,5 @@
|
|||
import org.elasticsearch.gradle.info.BuildParams
|
||||
|
||||
evaluationDependsOn(xpackModule('core'))
|
||||
|
||||
apply plugin: 'elasticsearch.esplugin'
|
||||
|
@ -44,13 +46,19 @@ task internalClusterTest(type: Test) {
|
|||
|
||||
check.dependsOn internalClusterTest
|
||||
|
||||
// add all sub-projects of the qa sub-project
|
||||
gradle.projectsEvaluated {
|
||||
project.subprojects
|
||||
.find { it.path == project.path + ":qa" }
|
||||
.subprojects
|
||||
.findAll { it.path.startsWith(project.path + ":qa") }
|
||||
.each { check.dependsOn it.check }
|
||||
/****************************************************************
|
||||
* Enable QA/rest integration tests for snapshot builds only *
|
||||
* TODO: Enable for all builds upon this feature release *
|
||||
****************************************************************/
|
||||
if (BuildParams.isSnapshotBuild()) {
|
||||
// add all sub-projects of the qa sub-project
|
||||
gradle.projectsEvaluated {
|
||||
project.subprojects
|
||||
.find { it.path == project.path + ":qa" }
|
||||
.subprojects
|
||||
.findAll { it.path.startsWith(project.path + ":qa") }
|
||||
.each { check.dependsOn it.check }
|
||||
}
|
||||
}
|
||||
|
||||
/**********************************************
|
||||
|
|
Loading…
Reference in New Issue