Skip to content

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

Remove credentialsId from Git checkout configuration for improved security and flexibility

Enno Gelhausb71f8a7acbef
diff --git a/Jenkins/Build.Jenkinsfile b/Jenkins/Build.Jenkinsfile
index f90a74809..220acfeec 100644
--- a/Jenkins/Build.Jenkinsfile
+++ b/Jenkins/Build.Jenkinsfile
@@ -22,7 +22,7 @@ pipeline {
[$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false]
],
userRemoteConfigs: [
- [credentialsId: 'YOUR_GIT_CREDENTIALS_ID', url: env.GIT_URL ?: ''] // Replace env.GIT_URL if needed
+ [url: env.GIT_URL ?: ''] // Replace env.GIT_URL if needed
]
])
}