diff --git a/Jenkinsfile b/Jenkinsfile index f2f8a3d..fa1d093 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/;whereis sudo; sudo ls; sudo /home/administrator/apps/$IMAGE_NAME/BuildDocker' + sh 'cd /home/administrator/apps/$IMAGE_NAME/;sudo sh /home/administrator/apps/$IMAGE_NAME/BuildDocker' } }