complete modular transition

This commit is contained in:
2017-05-19 12:09:33 +02:00
parent cf41e81153
commit 7c5cafeb1b
38 changed files with 234 additions and 153 deletions

View File

@ -1,6 +1,5 @@
import * as plugins from './npmci.plugins'
import { prepare } from './npmci.prepare'
import { bash } from './npmci.bash'
import * as plugins from './mod.plugins'
import { bash } from '../npmci.bash'
let triggerValueRegex = /^([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|?([a-zA-Z0-9\.\-\/]*)/
@ -23,5 +22,8 @@ let evaluateTrigger = async (triggerEnvVarArg) => {
}
plugins.beautylog.info('Found Trigger!')
plugins.beautylog.log('triggering build for ref ' + regexRefName + ' of ' + regexTriggerName)
plugins.request.post('https://gitlab.com/api/v3/projects/' + regexProjectId + '/trigger/builds', { form: { token: regexProjectTriggerToken, ref: regexRefName } })
plugins.request.post(
'https://gitlab.com/api/v3/projects/' + regexProjectId + '/trigger/builds',
{ form: { token: regexProjectTriggerToken, ref: regexRefName }
})
}

View File

@ -0,0 +1 @@
export * from '../npmci.plugins'