summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-01-15 15:09:39 +0100
committerVratko Polak <vrpolak@cisco.com>2020-03-12 14:47:03 +0100
commit46c7af4be5904b948b6a087e97d812c13882f72d (patch)
treea4e37aa7b9c899d51c636fcc2c315460821c5765 /jjb/global-macros.yaml
parent28125ce75037d1b5221dce8b40d69aa5458341cf (diff)
Use the same perf triger for vpp and csit
+ Rename arguments. + Make skip-vote and trigger word configurable in the macro. + Keep the old skip-vote and trigger word values. + Improve vpp-csit job description highlighting the difference. Change-Id: Ie9ca68d422f8514bc8b0cd79f36a83181911feb9 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r--jjb/global-macros.yaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 3d9c102e..5247bfc6 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -309,24 +309,24 @@
- trigger:
name: gerrit-trigger-csit-perftest
- # Comes from VPP, for jobs that do performance testing using CSIT code.
+ # Manual trigger common for csit-vpp and vpp-csit perf jobs.
triggers:
- gerrit:
server-name: 'Primary'
trigger-on:
- comment-added-contains-event:
- comment-contains-value: 'perftest-{node-arch}'
+ comment-contains-value: '{trigger-word}'
projects:
- project-compare-type: 'ANT'
- project-pattern: '{name}'
+ project-pattern: '{project}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
skip-vote:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
+ successful: '{skip-vote}'
+ failed: '{skip-vote}'
+ unstable: '{skip-vote}'
+ notbuilt: '{skip-vote}'
- trigger:
name: gerrit-trigger-csit-vpp-devicetest-full