			return this.commandArgs.buildId.val().then((buildId) => {
				return this._deleteBuild(buildapi, buildId, project);
			});
		});

	}

	public friendlyOutput(build: buildContracts.Build): void {
		trace.println();
	}

	private _deleteBuild(buildapi: buildClient.IBuildApi, buildId: number, project: string) {
		trace.info("Deleting build...")
        buildapi.deleteBuild(buildId,project)