Browse Source

Add stop task for vagrant which wraps all halt tasks, instead of using clean

Ryan Ernst 9 years ago
parent
commit
19567fb794
1 changed files with 6 additions and 1 deletions
  1. 6 1
      qa/vagrant/build.gradle

+ 6 - 1
qa/vagrant/build.gradle

@@ -90,6 +90,11 @@ task clean(type: Delete) {
   delete buildDir
 }
 
+task stop {
+  group 'Verification'
+  description 'Stop any tasks from tests that still may be running'
+}
+
 File testRoot = new File("$buildDir/testroot")
 task createTestRoot {
   outputs.dir testRoot
@@ -153,7 +158,7 @@ for (String box : availableBoxes) {
     boxName box
     commandLine 'halt', box
   }
-  clean.dependsOn(halt)
+  stop.dependsOn(halt)
   if (boxes.contains(box) == false) {
     // we only need a halt task if this box was not specified
     continue;