refactor(devops): 重构流水线相关代码
- 新增 WebSocket 消息解析工具类 WsMessageUtil - 添加流水线实例节点明细查询功能 - 优化流水线重试逻辑,支持指定节点重试 - 新增多个流水线节点处理服务类 - 调整流水线模板获取方式 - 优化流水线状态检查逻辑
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
const pipeline = {
|
||||
/**
|
||||
* 全局常量
|
||||
*/
|
||||
state: {
|
||||
statusConst: {
|
||||
pending: { code: 'pending', label: '未开始', color: '#C0C4CC', icon: 'el-icon-time' },
|
||||
running: { code: 'running', label: '运行中', color: '#409EFF', icon: 'el-icon-loading' },
|
||||
success: { code: 'success', label: '执行成功', color: '#67C23A', icon: 'el-icon-success' },
|
||||
fail: { code: 'fail', label: '执行失败', color: '#F56C6C', icon: 'el-icon-error' }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default pipeline
|
||||
Reference in New Issue
Block a user