#814 Docker deploy fixes
This commit is contained in:
parent
93b6a72805
commit
4305c35946
|
@ -31,15 +31,15 @@ node {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('Docker deployment') {
|
stage ('Docker deployment') {
|
||||||
environment {
|
|
||||||
COMPOSE_HTTP_TIMEOUT = 300
|
|
||||||
COMPOSE_PROJECT_NAME = 'salix'
|
|
||||||
DOCKER_TLS_VERIFY = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
sh "docker-compose build"
|
|
||||||
|
|
||||||
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
|
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
|
||||||
|
environment {
|
||||||
|
COMPOSE_HTTP_TIMEOUT = 300
|
||||||
|
COMPOSE_PROJECT_NAME = 'salix'
|
||||||
|
DOCKER_TLS_VERIFY = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
sh "docker-compose build"
|
||||||
|
|
||||||
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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue