add some more functionality

This commit is contained in:
2016-06-03 01:58:37 +02:00
parent 057e425824
commit fa7f576ae5
10 changed files with 76 additions and 35 deletions

View File

@@ -4,5 +4,8 @@ import {bash} from "./npmci.bash";
export let build = function(commandArg){
let done = plugins.q.defer();
let repo = new plugins.smartstring.GitRepo(process.env.CI_BUILD_REPO);
plugins.shelljs.exec("docker build -t " + repo.user + "/" + repo.repo + ":latest .");
done.resolve();
return done.promise;
}