fix: add sudo to systemctl reload command in deployment stage
All checks were successful
bangararaju.kottedi.in/admin/admin-uat-new/pipeline/head This commit looks good
All checks were successful
bangararaju.kottedi.in/admin/admin-uat-new/pipeline/head This commit looks good
This commit is contained in:
parent
a6e48d6b2b
commit
cf8e3b880c
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -43,7 +43,7 @@ pipeline {
|
||||
sh '''
|
||||
rm -rf $DEPLOY_PATH/*
|
||||
cp -r dist/portfolio-admin/browser/* $DEPLOY_PATH/
|
||||
systemctl reload nginx
|
||||
sudo /usr/bin/systemctl reload nginx
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user