From 671fc2a1b0812660cc2efb5bedca8054b154830b Mon Sep 17 00:00:00 2001 From: Manraj Date: Sat, 11 Mar 2023 01:53:11 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0884caa..ce0e501 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,9 +6,9 @@ pipeline { steps { // Stop running microblog container (microblog label applied to microblog container by this repo's Dockerfile) sh 'docker stop $(docker ps -q --filter name=microblog) || true && docker rm $(docker ps -q --filter name=microblog) || true' - withCredentials([file(credentialsId: twilio-creds, variable: 'env')]) { - sh "cp \$env /.env" - } + } + withCredentials([file(credentialsId: twilio-creds, variable: 'env')]) { + sh "cp \$env /.env" } } stage('Build') {