ci: persist flutter dependency caches

This commit is contained in:
2026-08-21 13:12:36 +08:00
parent ff55623d80
commit ef35dc748a
Vendored
+4 -2
View File
@@ -34,8 +34,10 @@ pipeline {
https_proxy = 'http://192.168.5.200:7890' 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'
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" // Keep dependency caches outside cleanWs. The build node already owns
PUB_CACHE = "${WORKSPACE}/.ci/pub-cache" // 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_CREDENTIALS = 'openlist_key'
OPENLIST_BASE_URL = 'https://openlist.nxsir.cn' OPENLIST_BASE_URL = 'https://openlist.nxsir.cn'
OPENLIST_REMOTE_DIR = '/yidongpan/构建产物/jizhang' OPENLIST_REMOTE_DIR = '/yidongpan/构建产物/jizhang'