Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 734 Bytes
includeTargets << grailsScript("Init")
includeTargets << new File("${cloudBeesPluginDir}/scripts/_CheckConfig.groovy")
includeTargets << new File("${cloudBeesPluginDir}/scripts/_BeesHelper.groovy")
includeTargets << new File("${cloudBeesPluginDir}/scripts/_BeesCommon.groovy")
USAGE = '''
grails bees-app-delete [appId]
appId : the application id (defaults to appname)
target(beesAppDelete: "Delete an application.") {
depends(checkConfig, prepareClient)
String appId = buildAppId()
def response
try {
response = beesClient.applicationDelete(appId)
} catch (Exception e) {
dealWith e
event "StatusFinal", ["Application $appId deleted successfully: $response.deleted"]
Jump to Line
Something went wrong with that request. Please try again.