Update Jenkinsfile
This commit is contained in:
parent
7cc3bca0ce
commit
d9f605d7db
|
@ -7,7 +7,7 @@ pipeline {
|
|||
// 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')]) {
|
||||
writeFile file: '.env', text: readFile(env)
|
||||
sh "cp \$env /.env"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue