From b2658142aedbe44300f1c42ac89ab367912a468a Mon Sep 17 00:00:00 2001 From: willaspace Date: Sat, 9 Jan 2021 19:18:10 +0000 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 144c595..f2f8a3d 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/; sudo -s ./BuildDocker' + sh 'cd /home/administrator/apps/$IMAGE_NAME/;whereis sudo; sudo ls; sudo /home/administrator/apps/$IMAGE_NAME/BuildDocker' } }