private static string RerunPipeline(string toolName, string pipeline, string environment, string pipelineInstanceName, List <string> testCaseIds = null) { PipelineInfo pipelineInfo = new PipelineInfo(toolName, pipeline, environment, pipelineInstanceName: pipelineInstanceName, testCasesIds: testCaseIds); CreateLogsDirectory(toolName, pipeline, environment, pipelineInstanceName); var rerunPipelineStatus = PipelineManager.AddToQueue(pipelineInfo); return(rerunPipelineStatus); }
private static string TriggerPipeline(string toolName, string pipeline, string environment, bool updatePlan) { PipelineInfo pipelineInfo = new PipelineInfo(toolName, pipeline, environment, updatePlan); CreateLogsDirectory(toolName, pipeline, environment, pipelineInfo.PipelineInstance); var triggerPipelineStatus = PipelineManager.AddToQueue(pipelineInfo); return(triggerPipelineStatus); }