fix(ci): Build Dependencies 超时从 15 分钟调至 30 分钟
Maven 全量依赖下载在空缓存场景下超过 15 分钟导致 stage 被 kill, Jenkinsfile 全局超时 90 分钟已足够,放宽 deps 阶段独立超时。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -242,7 +242,7 @@ pipeline {
|
|||||||
def stageStartTime = System.currentTimeMillis()
|
def stageStartTime = System.currentTimeMillis()
|
||||||
|
|
||||||
echo "📦 Building dependencies base image with Maven cache..."
|
echo "📦 Building dependencies base image with Maven cache..."
|
||||||
timeout(time: 15, unit: 'MINUTES') {
|
timeout(time: 30, unit: 'MINUTES') {
|
||||||
// 【优化1】使用 Maven 缓存卷加速依赖下载
|
// 【优化1】使用 Maven 缓存卷加速依赖下载
|
||||||
sh """
|
sh """
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Reference in New Issue
Block a user