From 783355e812dda650036ede3642a029d3b69d0793 Mon Sep 17 00:00:00 2001 From: newrain001 Date: Thu, 21 Dec 2023 13:15:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'cloud/Jenkinsfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloud/Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloud/Jenkinsfile b/cloud/Jenkinsfile index 13de46c..8aeec7e 100644 --- a/cloud/Jenkinsfile +++ b/cloud/Jenkinsfile @@ -41,6 +41,8 @@ pipeline { name: "maven-repo" subPath: "settings.xml" readOnly: true + - mountPath: "/root/.m2" + name: "maven-data" - name: nodejs image: node:14 command: ['cat'] @@ -85,6 +87,8 @@ pipeline { - name: maven-repo configMap: name: maven-repo + - name: maven-data + hostPath: "/opt/data/m2" """ } }