#814 Docker deploy fixes

This commit is contained in:
Juan Ferrer 2019-01-02 00:43:50 +01:00
parent 1c08ad6e2e
commit b2c510fcd9
1 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -33,9 +33,9 @@ node {
env.COMPOSE_PROJECT_NAME = 'salix' env.COMPOSE_PROJECT_NAME = 'salix'
env.DOCKER_TLS_VERIFY = 1 env.DOCKER_TLS_VERIFY = 1
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
sh "docker-compose build" sh "docker-compose build"
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
env.DOCKER_HOST = 'tcp://vch2.verdnatura.es:2376'; env.DOCKER_HOST = 'tcp://vch2.verdnatura.es:2376';
sh "docker-compose up -d" sh "docker-compose up -d"
} }