From fadec4455279f31181a5d56012c0f0ecfa3a1fdc Mon Sep 17 00:00:00 2001 From: Clement Date: Thu, 4 Feb 2021 15:19:03 +0800 Subject: [PATCH] Test executing build script --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {