Skip to content

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

Remove unnecessary options configuration from Jenkins pipeline for cleaner setup

Enno Gelhaus6e19591998ee
diff --git a/Jenkins/Build.Jenkinsfile b/Jenkins/Build.Jenkinsfile
index b4924c916..34d1d0592 100644
--- a/Jenkins/Build.Jenkinsfile
+++ b/Jenkins/Build.Jenkinsfile
@@ -3,12 +3,6 @@ pipeline {
// Defines the execution environment. Replace 'linux-agent' with your specific agent label.
agent any
- // Configure options, primarily to ensure full Git history is fetched for SonarQube and versioning.
- options {
- // Skip the default checkout to manage it explicitly and ensure fetch-depth: 0.
- skipDefaultCheckout()
- }
-
stages {
// Stage 1: Checkout the code with full history (fetch-depth: 0)
stage('Source Checkout') {
diff --git a/Jenkins/BuildPR.Jenkinsfile b/Jenkins/BuildPR.Jenkinsfile
index 49a6b8683..3840b726c 100644
--- a/Jenkins/BuildPR.Jenkinsfile
+++ b/Jenkins/BuildPR.Jenkinsfile
@@ -2,11 +2,6 @@
pipeline {
// Defines the execution environment. Replace 'linux-agent' with your specific agent label.
agent any
- // Configure options, primarily to ensure full Git history is fetched for SonarQube and versioning.
- options {
- // Skip the default checkout to manage it explicitly and ensure fetch-depth: 0.
- skipDefaultCheckout()
- }
// Environment variables that hold PR details (set automatically by Jenkins SCM plugins like Git/GitHub Branch Source)
environment {