From 2b18bb7a8fcb34923b66d06a0cd0a11f2646470a Mon Sep 17 00:00:00 2001 From: Sofiia Churikova Date: Fri, 2 May 2025 03:52:57 +0300 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index b5c8f67ae..b0b18fe86 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -45,6 +45,8 @@ pipeline { stage('Create Docker Image') { steps { script { + sh 'sudo chmod 666 /var/run/docker.sock || true' + def shortCommit = sh(script: "git rev-parse --short HEAD", returnStdout: true).trim() sh "docker build -f Dockerfile.multi -t host.docker.internal:8084/mr:${shortCommit} ." @@ -80,6 +82,8 @@ pipeline { stage('Create Docker Image') { steps { script { + sh 'sudo chmod 666 /var/run/docker.sock || true' + def shortCommit = sh(script: "git rev-parse --short HEAD", returnStdout: true).trim() sh "docker build -f Dockerfile.multi -t host.docker.internal:8083/main:${shortCommit} ."