automated terminal push
This commit is contained in:
23
infrastructure/foundation/Jenkinsfile
vendored
23
infrastructure/foundation/Jenkinsfile
vendored
@@ -104,15 +104,15 @@ 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
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "❌ Missing required file: $file"
|
||||
exit 1
|
||||
fi
|
||||
echo "✅ Found: $file"
|
||||
done
|
||||
for file in bootstrap.sh cleanup.sh; do
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "❌ Missing required file: $file"
|
||||
exit 1
|
||||
fi
|
||||
echo "✅ Found: $file"
|
||||
done
|
||||
else
|
||||
echo "✅ Skipping bootstrap/cleanup checks (ACTION=${ACTION}, SKIP_BOOTSTRAP=${SKIP_BOOTSTRAP})"
|
||||
echo "✅ Skipping bootstrap/cleanup checks (ACTION=${ACTION}, SKIP_BOOTSTRAP=${SKIP_BOOTSTRAP})"
|
||||
fi
|
||||
|
||||
# Make scripts executable (if they aren't already)
|
||||
@@ -122,9 +122,9 @@ pipeline {
|
||||
|
||||
echo "✅ Repository structure validated"
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
} // end script
|
||||
} // end steps
|
||||
} // end stage
|
||||
|
||||
stage('🔧 Setup Tools') {
|
||||
steps {
|
||||
@@ -874,4 +874,3 @@ Type 'DESTROY' exactly to confirm:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user