Revert "Destroy test VMs on clean (#28818)"
This reverts commit f66234bdd5
.
This commit is contained in:
parent
f66234bdd5
commit
57225652b3
|
@ -258,9 +258,6 @@ class VagrantTestPlugin implements Plugin<Project> {
|
||||||
private static void createVagrantBoxesTasks(Project project) {
|
private static void createVagrantBoxesTasks(Project project) {
|
||||||
assert project.extensions.esvagrant.boxes != null
|
assert project.extensions.esvagrant.boxes != null
|
||||||
|
|
||||||
final Task clean = project.tasks.clean
|
|
||||||
assert clean != null
|
|
||||||
|
|
||||||
assert project.tasks.stop != null
|
assert project.tasks.stop != null
|
||||||
Task stop = project.tasks.stop
|
Task stop = project.tasks.stop
|
||||||
|
|
||||||
|
@ -337,7 +334,6 @@ class VagrantTestPlugin implements Plugin<Project> {
|
||||||
}
|
}
|
||||||
destroy.onlyIf { vagrantDestroy }
|
destroy.onlyIf { vagrantDestroy }
|
||||||
update.mustRunAfter(destroy)
|
update.mustRunAfter(destroy)
|
||||||
clean.dependsOn(destroy)
|
|
||||||
|
|
||||||
Task up = project.tasks.create("vagrant${boxTask}#up", VagrantCommandTask) {
|
Task up = project.tasks.create("vagrant${boxTask}#up", VagrantCommandTask) {
|
||||||
command 'up'
|
command 'up'
|
||||||
|
|
Loading…
Reference in New Issue