Disable automatic test job triggering from gerrit.
Trigger enabled for Code Review +1
Change-Id: I4699963be1373fdba883a641218fb641a9b386a6
diff --git a/jenkins/client/job/opencontrail/build/test.yml b/jenkins/client/job/opencontrail/build/test.yml
index 5a4666a..9b66e60 100644
--- a/jenkins/client/job/opencontrail/build/test.yml
+++ b/jenkins/client/job/opencontrail/build/test.yml
@@ -62,15 +62,13 @@
branches:
- "{{branch}}"
event:
- patchset:
- - created:
- excludeDrafts: false
- excludeTrivialRebase: false
- excludeNoCodeChange: false
- comment:
+ comment:
+ - added:
+ verdictCategory: 'Code-Review'
+ commentAddedTriggerApprovalValue: '+1'
- addedContains:
commentAddedCommentContains: '(recheck|reverify)'
param:
TEST_MODELS:
type: string
- default: "{{clusters}}"
\ No newline at end of file
+ default: "{{clusters}}"
diff --git a/jenkins/client/job/salt-formulas/tests.yml b/jenkins/client/job/salt-formulas/tests.yml
index 99ac553..60f4f3f 100644
--- a/jenkins/client/job/salt-formulas/tests.yml
+++ b/jenkins/client/job/salt-formulas/tests.yml
@@ -134,12 +134,10 @@
branches:
- master
event:
- patchset:
- - created:
- excludeDrafts: false
- excludeTrivialRebase: false
- excludeNoCodeChange: false
comment:
+ - added:
+ verdictCategory: 'Code-Review'
+ commentAddedTriggerApprovalValue: '+1'
- addedContains:
commentAddedCommentContains: '(recheck|reverify)'
param:
diff --git a/jenkins/client/job/salt-models/tests.yml b/jenkins/client/job/salt-models/tests.yml
index c2c8996..dadd255 100644
--- a/jenkins/client/job/salt-models/tests.yml
+++ b/jenkins/client/job/salt-models/tests.yml
@@ -22,12 +22,10 @@
- compare_type: "REG_EXP"
name: "{{branch}}"
event:
- patchset:
- - created:
- excludeDrafts: false
- excludeTrivialRebase: false
- excludeNoCodeChange: false
comment:
+ - added:
+ verdictCategory: 'Code-Review'
+ commentAddedTriggerApprovalValue: '+1'
- addedContains:
commentAddedCommentContains: '(recheck|reverify)'
param:
@@ -103,12 +101,10 @@
branches:
- master
event:
- patchset:
- - created:
- excludeDrafts: false
- excludeTrivialRebase: false
- excludeNoCodeChange: false
comment:
+ - added:
+ verdictCategory: 'CodeReview'
+ commentAddedTriggerApprovalValue: '+1'
- addedContains:
commentAddedCommentContains: '(recheck|reverify)'
param: