diff --git a/first-class-pipeline/src/com/freeleaps/devops/DependenciesResolver.groovy b/first-class-pipeline/src/com/freeleaps/devops/DependenciesResolver.groovy index 4d9d8bc4..46f58f5b 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/DependenciesResolver.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/DependenciesResolver.groovy @@ -138,7 +138,7 @@ class DependenciesResolver { if (cachingEnabled) { steps.dir(this.workspace) { steps.cache(maxCacheSize: 512, caches: [[$class: 'ArbitraryFileCache', includes: '**/*', path: "/tmp/.${configurations.name}-pnpm-cache", cacheValidityDecidingFile: 'pnpm-lock.yaml']]) { - steps.sh "mkdir -p ${configurations.name}-pnpm-cache" + steps.sh "mkdir -p /tmp/.${configurations.name}-pnpm-cache" steps.sh "pnpm install --store-dir /tmp/.${configurations.name}-pnpm-cache --prefer-offline" } }