update triggerRegex
This commit is contained in:
parent
1159a9ab5c
commit
6b82f8385c
@ -9,7 +9,7 @@ let triggerEnvPrefix = "NPMCI_TRIGGER_";
|
|||||||
export let trigger = function(){
|
export let trigger = function(){
|
||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
plugins.beautylog.info("now running triggers");
|
plugins.beautylog.info("now running triggers");
|
||||||
let triggerRegex = /^([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|?([a-zA-Z0-9\.]*)/;
|
let triggerRegex = /^([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|([a-zA-Z0-9\.]*)\|?([a-zA-Z0-9\.\-\/]*)/;
|
||||||
for(let i = 0; i < 100; i++){
|
for(let i = 0; i < 100; i++){
|
||||||
let iteratorString = i.toString();
|
let iteratorString = i.toString();
|
||||||
let triggerName = triggerEnvPrefix + iteratorString
|
let triggerName = triggerEnvPrefix + iteratorString
|
||||||
|
Loading…
Reference in New Issue
Block a user