#814 Docker deploy fixes
This commit is contained in:
parent
93b6a72805
commit
4305c35946
|
@ -31,6 +31,7 @@ node {
|
|||
}
|
||||
}
|
||||
stage ('Docker deployment') {
|
||||
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
|
||||
environment {
|
||||
COMPOSE_HTTP_TIMEOUT = 300
|
||||
COMPOSE_PROJECT_NAME = 'salix'
|
||||
|
@ -39,7 +40,6 @@ node {
|
|||
|
||||
sh "docker-compose build"
|
||||
|
||||
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
|
||||
env.DOCKER_HOST = 'tcp://vch2.verdnatura.es:2376';
|
||||
sh "docker-compose up -d"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue