add some more functionality
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user