/// <summary> /// Aborts the build of the selected project. /// </summary> /// <param name="request">A <see cref="ProjectRequest"/> containing the request details.</param> /// <returns>A <see cref="Response"/> containing the results of the request.</returns> public virtual Response AbortBuild(ProjectRequest request) { return(server.AbortBuild(request)); }
/// <summary> /// Aborts the build. /// </summary> /// <param name="projectName">Name of the project.</param> /// <param name="enforcerName">Name of the enforcer.</param> /// <remarks></remarks> public void AbortBuild(string projectName, string enforcerName) { Response resp = cruiseServer.AbortBuild(GenerateProjectRequest(projectName)); ValidateResponse(resp); }