This commit is contained in:
Juan Ferrer 2019-02-11 23:01:32 +01:00
parent 476ce3318f
commit c1586eeee4
2 changed files with 3 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -62,7 +62,7 @@ pipeline {
environment {
NODE_ENV = ""
FIREFOX_BIN = "/opt/firefox/firefox-bin"
DOCKER_HOST = "${env.DOCKER_HOST_2}"
DB_HOST = "${env.DOCKER_HOST_2}"
}
steps {
nodejs('node-lts') {

View File

@ -21,8 +21,8 @@ let containerId = 'salix-db';
let dataSources = require('./loopback/server/datasources.json');
let dbConf = dataSources.vn;
if (process.env.DOCKER_HOST)
dbConf.host = process.env.DOCKER_HOST;
if (process.env.DB_HOST)
dbConf.host = process.env.DB_HOST;
let backSources = [
'!node_modules',