Update Jenkinsfile
This commit is contained in:
parent
d9f605d7db
commit
671fc2a1b0
|
@ -6,9 +6,9 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
// Stop running microblog container (microblog label applied to microblog container by this repo's Dockerfile)
|
// 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'
|
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') {
|
stage('Build') {
|
||||||
|
|
Loading…
Reference in New Issue