fix: 自动发现最新直构并修复构建来源链接

- 复用 Jenkins 同步器,每分钟顺序扫描各任务最新一次构建,跳过已完成历史。

- 限制自动扫描响应和超时,区分记录建档时间与真实构建时间。

- 支持独立 Jenkins 公开链接,内部请求地址保持不变。
This commit is contained in:
湛兮
2026-10-28 00:01:53 +08:00
parent bf9a229804
commit 289c01f0cd
10 changed files with 134 additions and 30 deletions
+2
View File
@@ -15,6 +15,8 @@ REDIS_URL=redis://127.0.0.1:6379/0
# Jenkins integration, server-side only.
JENKINS_BASE_URL=https://jenkins.example.internal
# 可选:浏览器可访问的 Jenkins 地址,服务端请求继续使用 BASE_URL
JENKINS_PUBLIC_URL=https://jenkins.example.com
JENKINS_USERNAME=devops-bot
JENKINS_API_TOKEN=replace-with-secret-manager-value
JENKINS_AUTO_SYNC_ENABLED=false