Skip to content

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

Update Jenkinsfile

egelhaus3c00ea792ab7
diff --git a/Jenkinsfile b/Jenkinsfile
index 086475740..85101ae9c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -5,27 +5,26 @@ pipeline {
NODE_VERSION = '20.17.0'
}
- options {
- cache(caches: [
- arbitraryFileCache(
- cacheName: 'Next',
- cacheValidityDecidingFile: '',
- excludes: '',
- includes: '**/*',
- path: "./.nx/cache"
- ),
- arbitraryFileCache(
- cacheName: 'NodeJS', // Added a cache name for better clarity
- cacheValidityDecidingFile: '',
- excludes: '',
- includes: '**/*',
- path: "./node_modules" // Use the HOME environment variable for home directory
- )
- ], defaultBranch: 'dev', maxCacheSize: 256000)
- }
-
-
stages {
+ options {
+ cache(caches: [
+ arbitraryFileCache(
+ cacheName: 'Next',
+ cacheValidityDecidingFile: '',
+ excludes: '',
+ includes: '**/*',
+ path: "./.nx/cache"
+ ),
+ arbitraryFileCache(
+ cacheName: 'NodeJS', // Added a cache name for better clarity
+ cacheValidityDecidingFile: '',
+ excludes: '',
+ includes: '**/*',
+ path: "./node_modules" // Use the HOME environment variable for home directory
+ )
+ ], defaultBranch: 'dev', maxCacheSize: 256000)
+ }
+
stage('Checkout Repository') {
steps {
checkout scm