From 9a4e4a2a914991a11d472d5ffdd5872129db0786 Mon Sep 17 00:00:00 2001 From: willaspace Date: Sat, 9 Jan 2021 19:04:48 +0000 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1b9dfd1..144c595 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { stage('build') { steps { sh ' docker build -t registry.willaspace.com/willaspace/$IMAGE_NAME:latest .' - sh 'cd /home/administrator/apps/$IMAGE_NAME/; cat ./BuildDocker | sudo bash' + sh 'cd /home/administrator/apps/$IMAGE_NAME/; sudo -s ./BuildDocker' } }