def call(Map info)
{
    println("Deleting test cluster")
    if (info['dryrun'] == '1') {
	return
    }
    timeout(time: 60, unit: 'MINUTES') {

	def vapor_args = ['command': 'delete',
			  'provider': info['provider'],
			  'project': info['projectid'],
			  'buildnum': env.BUILD_NUMBER,
			  'rhelver': info['rhelver'],
			  'debug': env.vapordebug]
	vapor_wrapper(vapor_args)
    }
}
