Merge pull request 'build fix check for docker' (#35) from fix/jenkins-check-for-docker into master

Reviewed-on: http://gitea.lan:3000/robbond/pleskSaas/pulls/35
This commit was merged in pull request #35.
This commit is contained in:
2026-03-06 13:58:53 +00:00

4
Jenkinsfile vendored
View File

@@ -1,7 +1,7 @@
pipeline { pipeline {
// Build + deploy stages require Docker CLI/daemon access on the Jenkins node. // Build + deploy stages require Docker CLI/daemon access on the Jenkins node.
// Ensure this label maps to an agent with Docker installed and usable. // Ensure this label maps to an agent with Docker installed and usable.
agent { label 'docker' } agent any
environment { environment {
REGISTRY_IMAGE = "plesk-agency-portal" REGISTRY_IMAGE = "plesk-agency-portal"
@@ -17,7 +17,7 @@ pipeline {
if ! command -v docker >/dev/null 2>&1; then if ! command -v docker >/dev/null 2>&1; then
echo "Docker CLI is not available on this Jenkins agent." echo "Docker CLI is not available on this Jenkins agent."
echo "Run this pipeline on a Docker-capable node (label: docker) or install Docker on the current agent." echo "Run this pipeline on a Docker-capable node or install Docker on the current agent."
exit 1 exit 1
fi fi