...
|
...
|
@@ -99,11 +99,16 @@ module.exports = { |
|
|
rule.hour = 23;
|
|
|
rule.minute = 59;
|
|
|
schedule.scheduleJob(rule, function() {
|
|
|
let running = {};
|
|
|
|
|
|
projects.forEach(async(p) => {
|
|
|
if (p.name !== 'yohobuywap-node') { // todo 暂时只检查wap站
|
|
|
return;
|
|
|
}
|
|
|
new Check(p.name, p.gitlab, 'release/5.6').check();
|
|
|
if (!running[p.name]) {
|
|
|
running[p.name] = true;
|
|
|
new Check(p.name, p.gitlab, 'release/5.6').check();
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
},
|
...
|
...
|
|