@@ -7,6 +7,9 @@ pipeline {
// environment{
// host = '172.17.1.22'
// }
+ options{
+ disableConcurrentBuilds()
+ }
triggers {
GenericTrigger(
@@ -172,6 +172,9 @@ export default {
if (this.data.status === 2) {
throw new Error('当前活动未开启');
}
+ if (this.data.status === 3) {
+ throw new Error('当前活动已结束');
throw new Error('未知活动状态');