From 403702d98105db4679dc919c765021a69fbf3101 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Sun, 2 Oct 2022 12:39:54 -0500 Subject: [PATCH] try to use different cache dirextory in container --- build-k8s-lenz.jenkins | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-k8s-lenz.jenkins b/build-k8s-lenz.jenkins index 78a7986..355c5de 100644 --- a/build-k8s-lenz.jenkins +++ b/build-k8s-lenz.jenkins @@ -141,6 +141,10 @@ pipeline { sh """ apt-get update DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install --no-install-recommends -y rpm + su - node + mkdir "${workspace}/lens/.npm-cache" + npm config set cache "${workspace}/lens/.npm-cache" --global + npm --global cache verify cd "${workspace}/lens" make build """