2016-11-25 00:07:20 +01:00
|
|
|
import * as plugins from './npmci.plugins'
|
|
|
|
import * as paths from './npmci.paths'
|
2017-03-08 14:50:41 +01:00
|
|
|
import { GitRepo } from 'smartstring'
|
2017-05-18 20:40:09 +00: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 :)
|
|
|
|
*/
|
2017-09-08 23:16:09 +02:00
|
|
|
let repoString: string = process.env.CI_REPOSITORY_URL
|
|
|
|
if (!repoString) {
|
|
|
|
repoString = 'https://undefined:undefined@github.com/undefined/undefined.git'
|
2017-07-19 09:40:48 +02:00
|
|
|
}
|
2017-09-08 23:16:09 +02:00
|
|
|
export let repo = new GitRepo(repoString)
|