From 65cb65b7d8f0f65a7c73f9e1e229399480311c6c Mon Sep 17 00:00:00 2001 From: Ed Kern Date: Mon, 23 Oct 2017 11:13:23 -0600 Subject: [PATCH] Readd VPP POC test job Putting cpoc test jobs back in with manual trigger for now This also contains correct node os value which was the cause of removal Change-Id: I94ea2605785f2faaf3ee50cf4675165af7f991ff Signed-off-by: Ed Kern --- jjb/vpp/vpp.yaml | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 5be6e5952..4237d8988 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -857,3 +857,63 @@ publishers: - fdio-infra-shiplogs: maven-version: 'mvn33-new' + +- job-template: + name: 'vpp-test-poc-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-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/*/* **/core' + -- 2.16.6