Obsolete: Starting with CloudCaptain 1.37.0 the Gradle plugin is no longer available. These docs are here for historical reference only. Users of the Gradle plugin are encouraged to migrate to the CloudCaptain Command-line Client.

kill

boxfuseKill

Gracefully kill all Instances of an App in the specified Environment.

Usage: gradle boxfuseKill -Dboxfuse.instances=instance

> gradle boxfuseKill -Dboxfuse.instances=vb-ec717c5e

Killing Instance vb-ec717c5e on VirtualBox ...
Instance killed in 00:03.493s

Class name

com.boxfuse.client.gradle.task.KillTask

Properties

Plugin Parameter Gradle/System property Default Description
user boxfuse.user Required - Your CloudCaptain Client user. Also configurable via the BOXFUSE_USER environment variable
secret boxfuse.secret Required - Your CloudCaptain Client secret. Also configurable via the BOXFUSE_SECRET environment variable
env boxfuse.env dev Use the AWS test or prod environments instead of the local dev one
instances boxfuse.instances The comma-separated list of ids of the Instance to work with

Sample Configuration

boxfuse {
    user='1234567890abcdef1234567890abcdef12345678'
    secret='ABCDEFGHIJKL1234567abcdefghijklmnopqrstu'
    env='prod'
    instances='vb-ec717c5e'
}

open