2018-04-04 20:25:13 +00:00
|
|
|
import * as plugins from './npmci.plugins';
|
|
|
|
import * as paths from './npmci.paths';
|
2018-11-28 20:06:12 +00:00
|
|
|
import { GitRepo } from '@pushrocks/smartstring';
|
2018-04-04 20:25:13 +00:00
|
|
|
import { Dockerfile } from './mod_docker/index';
|
2016-06-03 00:56:20 +00:00
|
|
|
|
2017-07-27 11:15:39 +00:00
|
|
|
/**
|
|
|
|
* a info instance about the git respoitory at cwd :)
|
|
|
|
*/
|
2018-04-04 20:25:13 +00:00
|
|
|
let repoString: string = process.env.CI_REPOSITORY_URL;
|
2017-09-08 21:16:09 +00:00
|
|
|
if (!repoString) {
|
2018-04-04 20:25:13 +00:00
|
|
|
repoString = 'https://undefined:undefined@github.com/undefined/undefined.git';
|
2017-07-19 07:40:48 +00:00
|
|
|
}
|
2018-04-04 20:25:13 +00:00
|
|
|
export let repo = new GitRepo(repoString);
|