Update Jenkinsfile

This commit is contained in:
Manraj 2023-03-11 01:53:11 -05:00 committed by GitHub
parent d9f605d7db
commit 671fc2a1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -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') {