Adjust bootstrap pipeline health checks

This commit is contained in:
swarm-bootstrap-bot
2026-03-08 18:46:23 +00:00
parent 297f3dbd82
commit bd8790c59c

6
Jenkinsfile vendored
View File

@@ -14,9 +14,11 @@ pipeline {
} }
} }
stage('Swarm Check') { stage('Service Reachability') {
steps { steps {
sh 'docker service ls --format "{{.Name}} {{.Replicas}}"' sh 'curl -fsS https://gitea.derryle.com/user/login > /dev/null'
sh 'code=$(curl -sS -o /dev/null -w "%{http_code}" https://jenkins.derryle.com/login); echo "$code"; echo "$code" | grep -Eq "^(200|401|403)$"'
sh 'curl -fsS https://portainer.derryle.com/ > /dev/null'
} }
} }
} }