This commit is contained in:
Philipp Kunz 2016-06-07 10:28:21 +02:00
parent 3300db61b4
commit c74bd67008
2 changed files with 7 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -173,6 +173,9 @@ export class Dockerfile {
let testFile = plugins.path.join(paths.NpmciTestDir,"test_" + this.version + ".sh");
let testExists = plugins.smartfile.checks.fileExistsSync(testFile);
if(testExists){
console.log("docker run -v " +
paths.NpmciTestDir + ":/test " +
"--name " + this.containerName + " " + this.buildTag + " /test/" + "test_" + this.version + ".sh");
bashBare("docker run -v " +
paths.NpmciTestDir + ":/test " +
"--name " + this.containerName + " " + this.buildTag + " /test/" + "test_" + this.version + ".sh");