Update Jenkinsfile
This commit is contained in:
parent
6446361b46
commit
3dacc57711
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue