Fix integ test exec on windows
This commit is contained in:
parent
9d42b8b22b
commit
fc1c66083b
|
@ -140,7 +140,7 @@ class ClusterFormationTasks {
|
|||
start = project.tasks.create(name: "${task.name}#start", type: DefaultTask, dependsOn: setup) << {
|
||||
// Fall back to Ant exec task as Gradle Exec task does not support spawning yet
|
||||
ant.exec(executable: 'cmd', spawn: true, dir: home) {
|
||||
esEnv.each { env(key: key, value: value) }
|
||||
esEnv.each { key, value -> env(key: key, value: value) }
|
||||
(['/C', 'call', 'bin/elasticsearch'] + esArgs).each { arg(value: it) }
|
||||
}
|
||||
esPostStartActions(ant, logger)
|
||||
|
|
Loading…
Reference in New Issue