diff --git a/Jenkinsfile b/Jenkinsfile index 9734c4f..433ff2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,12 +4,12 @@ pipeline { stages { stage('Build') { steps { - sh "docker-compose build" + sh "sudo docker-compose build" } } stage('Deploy') { steps { - sh "docker-compose up -d" + sh "sudo docker-compose up -d" } } }