From 8bbf6a7eb025708705e387942a4955e36a4e01d9 Mon Sep 17 00:00:00 2001 From: lenape Date: Sun, 3 Aug 2025 13:31:36 +0000 Subject: [PATCH] automated terminal push --- infrastructure/foundation/Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infrastructure/foundation/Jenkinsfile b/infrastructure/foundation/Jenkinsfile index ae0b1ec..1a28a2f 100644 --- a/infrastructure/foundation/Jenkinsfile +++ b/infrastructure/foundation/Jenkinsfile @@ -105,7 +105,7 @@ pipeline { # 2️⃣ Bootstrap & cleanup scripts (only if ACTION≠plan AND SKIP_BOOTSTRAP=false) if [ "${ACTION}" != "plan" ] && [ "${SKIP_BOOTSTRAP}" != "true" ]; then - for file in bootstrap.sh cleanup.sh; do + for file in bootstrap.bash cleanup.bash; do if [ ! -f "$file" ]; then echo "❌ Missing required file: $file" exit 1 @@ -117,7 +117,7 @@ pipeline { fi # Make scripts executable (if they aren't already) - chmod +x bootstrap.sh cleanup.sh || { + chmod +x bootstrap.bash cleanup.bash || { echo "⚠️ Could not make scripts executable, but continuing..." } @@ -395,7 +395,7 @@ sonar.tags=terraform,infrastructure,enterprise-cicd export AWS_REGION="${AWS_REGION}" # Run bootstrap script (uses Jenkins credentials) - ./bootstrap.sh + ./bootstrap.bash # Verify backend configuration was created if [ ! -f backend.tf ]; then @@ -701,7 +701,7 @@ Type 'DESTROY' exactly to confirm: export AWS_REGION="${AWS_REGION}" # Run cleanup script (uses Jenkins credentials) - ./cleanup.sh + ./cleanup.bash echo "✅ Bootstrap cleanup completed" '''