#1107 Hotfix
This commit is contained in:
parent
476ce3318f
commit
c1586eeee4
|
@ -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') {
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue