diff options
author | pmikus <pmikus@cisco.com> | 2016-04-04 15:17:31 +0200 |
---|---|---|
committer | C.J. Collier <cjcollier@linuxfoundation.org> | 2016-04-06 14:37:52 +0000 |
commit | 32dd310e08657c22ddf2d8c9544b9caf7ba168e9 (patch) | |
tree | 7a489748be3963c8aae571d7ad0c2ff96fbd2095 /jjb/vpp | |
parent | 0ed4ded2e0c9ac7fbf5dfbacd723d5c83e1e60e8 (diff) |
Split vpp-verify-perfomance job
- split job to include manual trigger keyword: verify-perf-long and
verify-perf-short
Change-Id: Ie2048704313634cc9ea62ce67e80fc921bef2e18
Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'jjb/vpp')
-rw-r--r-- | jjb/vpp/include-raw-vpp-verify-performance.sh | 2 | ||||
-rw-r--r-- | jjb/vpp/vpp.yaml | 20 |
2 files changed, 19 insertions, 3 deletions
diff --git a/jjb/vpp/include-raw-vpp-verify-performance.sh b/jjb/vpp/include-raw-vpp-verify-performance.sh index 64b8b502d..8a6cbeb30 100644 --- a/jjb/vpp/include-raw-vpp-verify-performance.sh +++ b/jjb/vpp/include-raw-vpp-verify-performance.sh @@ -1,6 +1,8 @@ #!/bin/bash
set -xeu -o pipefail
+export TEST_TAG="PERFTEST_${TYPE^^}"
+
# Clone csit and start tests
git clone --depth 1 https://gerrit.fd.io/r/csit --branch csit-verified
diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 22d9e2935..a9cf43de4 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -4,10 +4,13 @@ - 'vpp-verify' - 'vpp-merge' - 'vpp-csit-verify-virl' - - 'vpp-verify-performance' + - 'vpp-verify-performance-{type}' project: 'vpp' branch: 'master' + type: + - short + - long - job-template: name: vpp-verify @@ -149,7 +152,7 @@ output-path: 'csit' - job-template: - name: 'vpp-verify-performance' + name: 'vpp-verify-performance-{type}' project-type: freestyle node: verify @@ -166,6 +169,8 @@ project: '{project}' - gerrit-parameter: branch: '{branch}' + - type-parameter: + type: '{type}' scm: - gerrit-trigger-scm: @@ -180,7 +185,7 @@ triggers: - gerrit-trigger-manually-triggered: - comment-trigger-value: 'verify-perf' + comment-trigger-value: 'verify-perf-{type}' name: '{project}' branch: '{branch}' @@ -197,3 +202,12 @@ - robot-report: output-path: 'csit' + +- parameter: + name: type-parameter + + parameters: + - string: + name: TYPE + default: '{type}' + description: "TYPE parameter if not given by trigger" |