#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

4
Jenkinsfile vendored
View File

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