From 4139da1fdd7b670f35728d47f1c3309f759dbc04 Mon Sep 17 00:00:00 2001 From: Manraj Date: Sat, 11 Mar 2023 02:41:52 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c2b7da6..732209a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,8 +13,8 @@ pipeline { TWILIO_CREDS = credentials('twilio-creds') } steps { - sh 'sudo usermod -a -G root jenkins' - sh 'sudo cp $TWILIO_CREDS .env' + sh 'whoami' + sh 'cp $TWILIO_CREDS .env' sh 'docker build -t microblog:latest .' } }