Log host & port
gitea/salix/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Joan Sanchez 2022-10-05 11:14:49 +02:00
parent 0fccae0113
commit 0ad583f22f
1 changed files with 3 additions and 1 deletions

View File

@ -62,9 +62,11 @@ module.exports = class Docker {
this.dbConf.host = netSettings.Networks.jenkins.IPAddress; this.dbConf.host = netSettings.Networks.jenkins.IPAddress;
} }
console.log(netSettings); // console.log(netSettings);
this.dbConf.port = netSettings.Ports['3306/tcp'][0]['HostPort']; this.dbConf.port = netSettings.Ports['3306/tcp'][0]['HostPort'];
console.log('Host: ', this.dbConf.host);
console.log('Port: ', this.dbConf.host);
} }
await this.wait(); await this.wait();