#1107 Hotfix
This commit is contained in:
parent
476ce3318f
commit
c1586eeee4
|
@ -62,7 +62,7 @@ pipeline {
|
||||||
environment {
|
environment {
|
||||||
NODE_ENV = ""
|
NODE_ENV = ""
|
||||||
FIREFOX_BIN = "/opt/firefox/firefox-bin"
|
FIREFOX_BIN = "/opt/firefox/firefox-bin"
|
||||||
DOCKER_HOST = "${env.DOCKER_HOST_2}"
|
DB_HOST = "${env.DOCKER_HOST_2}"
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
nodejs('node-lts') {
|
nodejs('node-lts') {
|
||||||
|
|
|
@ -21,8 +21,8 @@ let containerId = 'salix-db';
|
||||||
let dataSources = require('./loopback/server/datasources.json');
|
let dataSources = require('./loopback/server/datasources.json');
|
||||||
let dbConf = dataSources.vn;
|
let dbConf = dataSources.vn;
|
||||||
|
|
||||||
if (process.env.DOCKER_HOST)
|
if (process.env.DB_HOST)
|
||||||
dbConf.host = process.env.DOCKER_HOST;
|
dbConf.host = process.env.DB_HOST;
|
||||||
|
|
||||||
let backSources = [
|
let backSources = [
|
||||||
'!node_modules',
|
'!node_modules',
|
||||||
|
|
Loading…
Reference in New Issue