diff --git a/Jenkinsfile b/Jenkinsfile index 75b934a..032b115 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { sh 'echo "building"' sh 'id' sh "cd scripts ; bash -x ./build-website.sh" - sh "apachectl restart" + sh "su - root -c apachectl restart" } } stage('test') {