Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

Update Jenkinsfile

egelhaus46f0f270ca2a
diff --git a/Jenkinsfile b/Jenkinsfile
index 6b51ce660..fe5c50999 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -8,15 +8,23 @@ pipeline {
options {
cache(caches: [
arbitraryFileCache(
- cacheName: 'NPM',
- cacheValidityDecidingFile: '',
- excludes: '',
- includes: '**/*',
- path: '~/.npm'
+ cacheName: 'Next',
+ cacheValidityDecidingFile: '',
+ excludes: '',
+ includes: '**/*',
+ path: "${WORKSPACE}/.next/cache"
+ ),
+ arbitraryFileCache(
+ cacheName: 'NPM', // Added a cache name for better clarity
+ cacheValidityDecidingFile: '',
+ excludes: '',
+ includes: '**/*',
+ path: "${HOME}/.npm" // Use the HOME environment variable for home directory
)
], defaultBranch: 'dev', maxCacheSize: 256000)
}
+
stages {
stage('Checkout Repository') {
steps {