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)
|
# 2️⃣ Bootstrap & cleanup scripts (only if ACTION≠plan AND SKIP_BOOTSTRAP=false)
|
||||||
if [ "${ACTION}" != "plan" ] && [ "${SKIP_BOOTSTRAP}" != "true" ]; then
|
if [ "${ACTION}" != "plan" ] && [ "${SKIP_BOOTSTRAP}" != "true" ]; then
|
||||||
for file in bootstrap.sh cleanup.sh; do
|
for file in bootstrap.sh cleanup.sh; do
|
||||||
if [ ! -f "$file" ]; then
|
if [ ! -f "$file" ]; then
|
||||||
echo "❌ Missing required file: $file"
|
echo "❌ Missing required file: $file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "✅ Found: $file"
|
echo "✅ Found: $file"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "✅ Skipping bootstrap/cleanup checks (ACTION=${ACTION}, SKIP_BOOTSTRAP=${SKIP_BOOTSTRAP})"
|
echo "✅ Skipping bootstrap/cleanup checks (ACTION=${ACTION}, SKIP_BOOTSTRAP=${SKIP_BOOTSTRAP})"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make scripts executable (if they aren't already)
|
# Make scripts executable (if they aren't already)
|
||||||
@@ -122,9 +122,9 @@ pipeline {
|
|||||||
|
|
||||||
echo "✅ Repository structure validated"
|
echo "✅ Repository structure validated"
|
||||||
'''
|
'''
|
||||||
}
|
} // end script
|
||||||
}
|
} // end steps
|
||||||
}
|
} // end stage
|
||||||
|
|
||||||
stage('🔧 Setup Tools') {
|
stage('🔧 Setup Tools') {
|
||||||
steps {
|
steps {
|
||||||
@@ -874,4 +874,3 @@ Type 'DESTROY' exactly to confirm:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user