Compare commits

...

1 Commits

Author SHA1 Message Date
eaa54181f6 commented out prefilight docker check 2026-03-06 14:00:28 +00:00

32
Jenkinsfile vendored
View File

@@ -10,24 +10,24 @@ pipeline {
}
stages {
stage('Preflight') {
steps {
sh '''
set -euo pipefail
// stage('Preflight') {
// steps {
// sh '''
// set -euo pipefail
if ! command -v docker >/dev/null 2>&1; then
echo "Docker CLI is not available on this Jenkins agent."
echo "Run this pipeline on a Docker-capable node or install Docker on the current agent."
exit 1
fi
// if ! command -v docker >/dev/null 2>&1; then
// echo "Docker CLI is not available on this Jenkins agent."
// echo "Run this pipeline on a Docker-capable node or install Docker on the current agent."
// exit 1
// fi
if ! docker version >/dev/null 2>&1; then
echo "Docker is installed but not usable by Jenkins (daemon/socket/permissions issue)."
exit 1
fi
'''
}
}
// if ! docker version >/dev/null 2>&1; then
// echo "Docker is installed but not usable by Jenkins (daemon/socket/permissions issue)."
// exit 1
// fi
// '''
// }
// }
stage('Checkout') {
steps {