Skip to content

Commit 19567fb

Browse files
committed
Add stop task for vagrant which wraps all halt tasks, instead of using clean
1 parent 6e44dda commit 19567fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

qa/vagrant/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ task clean(type: Delete) {
9090
delete buildDir
9191
}
9292

93+
task stop {
94+
group 'Verification'
95+
description 'Stop any tasks from tests that still may be running'
96+
}
97+
9398
File testRoot = new File("$buildDir/testroot")
9499
task createTestRoot {
95100
outputs.dir testRoot
@@ -153,7 +158,7 @@ for (String box : availableBoxes) {
153158
boxName box
154159
commandLine 'halt', box
155160
}
156-
clean.dependsOn(halt)
161+
stop.dependsOn(halt)
157162
if (boxes.contains(box) == false) {
158163
// we only need a halt task if this box was not specified
159164
continue;

0 commit comments

Comments
 (0)