From c3a61854a56c4df061afd5b22ee523a32daaf3c3 Mon Sep 17 00:00:00 2001 From: Manraj Date: Sat, 11 Mar 2023 14:12:45 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c4cd482..da6d51b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,10 +10,12 @@ pipeline { } stage('Build') { environment { - TWILIO_CREDS = credentials('twilio-creds') + TWILIO_ACCOUNT_SID = credentials('TWILIO_ACCOUNT_SID') + TWILIO_AUTH_TOKEN = credentials('TWILIO_ACCOUNT_SID') + TWILIO_VERIFY_SERVICE_ID = credentials('TWILIO_ACCOUNT_SID') } steps { - sh 'cp $TWILIO_CREDS .env' + echo '$TWILIO_ACCOUNT_SID' sh 'docker build -t microblog:latest .' } }