refactor(devops): 重构代码并添加新功能
- 重构了多个类的包结构,提高了代码的可维护性 - 添加了多个新的流水线节点服务类,增加了对Android、Node和NPM构建的支持 - 新增了人工部署审批和APK签名节点的实现 - 优化了现有流水线节点的执行逻辑,提高了执行效率
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function startPipeline() {
|
||||
export function startPipeline(data) {
|
||||
return request({
|
||||
url: 'api/devops/pipelineInstance/start',
|
||||
method: 'post'
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function restartPipeline() {
|
||||
export function restartPipeline(data) {
|
||||
return request({
|
||||
url: 'api/devops/pipelineInstance/restart',
|
||||
method: 'post'
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user