Update Jenkinsfile

This commit is contained in:
egelhaus 2025-04-09 16:44:52 +02:00 committed by GitHub
parent 1dec2b8c2a
commit 6446361b46
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: "$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)
}