summaryrefslogtreecommitdiffstats
path: root/jjb/vpp/vpp.yaml
diff options
context:
space:
mode:
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2017-09-26 12:36:21 -0500
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2017-09-26 13:46:20 -0500
commit34627a3a1eff36c97d71e5d92f0f1506c4cb370a (patch)
tree405f80d21468bd181d90febe6da79332ef7a4d5f /jjb/vpp/vpp.yaml
parenta915a7e7bf4c83d098e53fcd257a22aefc3cc434 (diff)
Add POC jobs to test the Nomad plugin
This change is to test the Nomad plugin against the container POC. The job is configured to only trigger on comment "test-cpoc" against the POC Nomad environment. This change is also configuring the test job to utilize the Naginator plugin which will retry failed builds. Change-Id: I9cdf277d7b4dd52b27fc830da5435b39ffca8440 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Diffstat (limited to 'jjb/vpp/vpp.yaml')
-rw-r--r--jjb/vpp/vpp.yaml61
1 files changed, 61 insertions, 0 deletions
diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml
index 17427c866..beea3b87b 100644
--- a/jjb/vpp/vpp.yaml
+++ b/jjb/vpp/vpp.yaml
@@ -10,6 +10,7 @@
- 'vpp-make-test-docs-verify-{stream}'
- 'vpp-test-packagecloud-{stream}-{os}'
- 'vpp-promote-{stream}-{os}'
+ - 'vpp-test-poc-verify-{stream}-{os}'
project: 'vpp'
os:
@@ -851,3 +852,63 @@
publishers:
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
+
+- job-template:
+ name: 'vpp-test-poc-verify-{stream}-{os}'
+
+ project-type: freestyle
+ node: 'ubuntu-s'
+ concurrent: true
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
+ - repo-name-parameter:
+ repo-name: '{repo-stream-part}.{repo-os-part}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: 'jenkins-gerrit-credentials'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-manually-triggered:
+ name: '{project}'
+ branch: '{branch}'
+ comment-trigger-value: 'test-cpoc'
+
+ builders:
+ - shell:
+ !include-raw-escape: include-raw-vpp-checkstyle.sh
+ - shell:
+ !include-raw-escape: include-raw-vpp-test-checkstyle.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/setup_vpp_dpdk_dev_env.sh
+ - include-raw-vpp-build.sh
+ publishers:
+ - archive:
+ artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
+ archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
+ - retry-build-on-builder-error