16 Commits

Author SHA1 Message Date
xiangning
ef2b858b61 fix(ci): drop timestamps() (timestamper plugin not installed) 2026-10-25 14:51:36 +08:00
xiangning
edfb8aedba chore(deploy): standard base images + Jenkinsfile for 154 CI/CD 2026-10-25 14:18:11 +08:00
xiangning
501f70d489 feat(cicd): 接入自动触发 + docker compose 部署
- Jenkinsfile 加 GenericTrigger(token=buildflow-portal)
- 部署 stage 改 docker compose
- HealthCheck 改轮询,失败标 unstable
2026-07-17 15:22:51 +08:00
xiangning
b3d8750816 fix(cicd): 部署 stage 加远程 docker login Harbor
Harbor 私有仓库,cd-target pull 需先登录。withCredentials 传凭证
通过 ssh 执行 docker login(stdin 传密码)。
2026-07-17 11:40:38 +08:00
xiangning
cb75e7096a fix(cicd): 部署 SSH 用 IP 直连 + sudo docker
实测 Jenkins 容器内无 cd-target ssh 别名,cd-target docker 需 sudo。
- DEPLOY_HOST: cd-target → ubuntu@110.42.240.10
- 远程命令: docker → sudo docker
2026-07-17 11:36:07 +08:00
xiangning
095346b48e fix(cicd): portal 流水线 - 重写为可用版本(旧模板有致命 bug)
修复 portal 反复 FAILURE 的根因:
- 旧 Jenkinsfile 指向已废弃的 192.168.1.154:31010 registry(非当前 Harbor)
- 旧 Jenkinsfile 用 docker-registry-credentials 凭证(未配置)
- 旧 Jenkinsfile 镜像名写成 buildflow-web(portal 仓库却叫 web,名称错误)
- sh heredoc 内误用 Groovy 风格 // 注释(shell 会把 // 当命令执行报错)

重写为与 api/web 对齐的 clean version:
- Harbor 43.134.235.58:58080 / buildflow/buildflow-portal
- harbor-credentials 凭证
- SSH 直连 cd-target 部署(-p 5173:5173)
- HealthCheck stage
2026-07-17 11:22:52 +08:00
xiangning
29bcbbdb72 fix: clean Jenkinsfile (single-quote sh blocks) 2026-07-03 18:12:29 +08:00
xiangning
d4275c767d fix: clean Jenkinsfile (single-quote sh blocks) 2026-07-03 17:37:02 +08:00
xiangning
2a228407c3 fix Jenkinsfile escape-free 2026-07-03 17:30:34 +08:00
xiangning
058ec41e39 fix: rewrite Jenkinsfile (proper escaping + feishu card) 2026-07-03 17:20:08 +08:00
xiangning
1c35674293 fix: remove timestamps (no timestamper plugin) 2026-07-03 17:15:21 +08:00
xiangning
6cbec72615 fix: correct package emoji (clean) 2026-07-03 17:10:51 +08:00
xiangning
c256740707 fix: correct package emoji encoding 2026-07-03 17:10:19 +08:00
xiangning
7f6cfad631 refactor: CI/CD pipeline with stages + feishu card notification (portal) 2026-07-03 17:08:59 +08:00
xiangning
26e48531e0 Refactor Jenkinsfile to Harbor-based CI/CD with credentials 2026-07-02 13:59:06 +08:00
xiangning
34321072d1 feat: BuildFlow 门户网站初始化(React/Vite) 2026-07-02 10:57:09 +08:00