From ef35dc748a7caf80f9e30f32cd9f4bb7cfe9adbf Mon Sep 17 00:00:00 2001 From: nanxun Date: Fri, 21 Aug 2026 13:12:36 +0800 Subject: [PATCH] ci: persist flutter dependency caches --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f42514f..685574a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,8 +34,10 @@ pipeline { https_proxy = 'http://192.168.5.200:7890' NO_PROXY = '127.0.0.1,localhost,192.168.5.8,.nxsir.cn,pub.flutter-io.cn,storage.flutter-io.cn' no_proxy = '127.0.0.1,localhost,192.168.5.8,.nxsir.cn,pub.flutter-io.cn,storage.flutter-io.cn' - GRADLE_USER_HOME = "${WORKSPACE}/.ci/gradle" - PUB_CACHE = "${WORKSPACE}/.ci/pub-cache" + // Keep dependency caches outside cleanWs. The build node already owns + // these standard user caches, while concurrent builds are disabled. + GRADLE_USER_HOME = '/home/nanxunai/.gradle' + PUB_CACHE = '/home/nanxunai/.pub-cache' OPENLIST_CREDENTIALS = 'openlist_key' OPENLIST_BASE_URL = 'https://openlist.nxsir.cn' OPENLIST_REMOTE_DIR = '/yidongpan/构建产物/jizhang'