fix(项目管理-流水线):启动流水线执行记录任务url修改
This commit is contained in:
parent
c9178ea89e
commit
ae14fb47d1
|
@ -207,7 +207,7 @@ public class PmsCiPipelinesController extends BaseController
|
|||
/**
|
||||
* 启动流水线执行记录任务
|
||||
*/
|
||||
@PostMapping(value = "/{id}/actions/runs/{run}/jobs/{job}/rerun")
|
||||
@PostMapping(value = "/{id}/actions/runs/run")
|
||||
@ApiOperation("启动流水线执行记录任务")
|
||||
public AjaxResult runPipelineRunsJob(@ApiParam(name = "id", value = "流水线id") @PathVariable Long id,
|
||||
@ApiParam(name = "workflow", value = "流水线文件名称", required = true) @RequestParam String workflow,
|
||||
|
@ -219,7 +219,7 @@ public class PmsCiPipelinesController extends BaseController
|
|||
/**
|
||||
* 重启流水线执行记录任务
|
||||
*/
|
||||
@PostMapping(value = "/{id}/actions/runs")
|
||||
@PostMapping(value = "/{id}/actions/runs/{run}/jobs/{job}/rerun")
|
||||
@ApiOperation("重启流水线执行记录任务")
|
||||
public AjaxResult reRunPipelineRunsJob(@ApiParam(name = "id", value = "流水线id")@PathVariable Long id,
|
||||
@ApiParam(name = "run", value = "执行记录序号")@PathVariable String run,
|
||||
|
|
Loading…
Reference in New Issue