From cf8e3b880c08d53e95e0d097c861b98366189bc3 Mon Sep 17 00:00:00 2001 From: Bangara Raju Kottedi Date: Mon, 16 Feb 2026 19:13:30 +0530 Subject: [PATCH] fix: add sudo to systemctl reload command in deployment stage --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e2659ff..297b63c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 ''' } }