diff --git a/Jenkinsfile b/Jenkinsfile index 01b84071..567408c7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,14 +12,14 @@ pipeline { cacheValidityDecidingFile: '', excludes: '', includes: '**/*', - path: "${WORKSPACE}/.next/cache" + path: "$WORKSPACE/.next/cache" ), arbitraryFileCache( cacheName: 'NPM', // Added a cache name for better clarity cacheValidityDecidingFile: '', excludes: '', includes: '**/*', - path: "${JENKINS_HOME}/.npm" // Use the HOME environment variable for home directory + path: "$JENKINS_HOME/.npm" // Use the HOME environment variable for home directory ) ], defaultBranch: 'dev', maxCacheSize: 256000) }