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