Update Jenkinsfile

This commit is contained in:
egelhaus 2025-04-09 16:48:31 +02:00 committed by GitHub
parent 38e2813380
commit 181fba1736
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -12,14 +12,14 @@ pipeline {
cacheValidityDecidingFile: '',
excludes: '',
includes: '**/*',
path: ${WORKSPACE}"/.next/cache"
path: "./.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: "~/.npm" // Use the HOME environment variable for home directory
)
], defaultBranch: 'dev', maxCacheSize: 256000)
}