npmci/ts/npmci.env.ts
2017-09-08 23:16:09 +02:00

14 lines
429 B
TypeScript

import * as plugins from './npmci.plugins'
import * as paths from './npmci.paths'
import { GitRepo } from 'smartstring'
import { Dockerfile } from './mod_docker/index'
/**
* a info instance about the git respoitory at cwd :)
*/
let repoString: string = process.env.CI_REPOSITORY_URL
if (!repoString) {
repoString = 'https://undefined:undefined@github.com/undefined/undefined.git'
}
export let repo = new GitRepo(repoString)