From 34627a3a1eff36c97d71e5d92f0f1506c4cb370a Mon Sep 17 00:00:00 2001 From: Vanessa Rene Valderrama Date: Tue, 26 Sep 2017 12:36:21 -0500 Subject: 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 --- jjb/vpp/vpp.yaml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'jjb/vpp/vpp.yaml') 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 -- cgit 1.2.3-korg