summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-05-04 15:01:30 -0500
committerThanh Ha <thanh.ha@linuxfoundation.org>2016-05-04 16:50:12 -0400
commit78e96d00c96c7b27f54fe00d3d2d39ac8fd012a2 (patch)
tree269228a05cdd5f18f659eab6bdc19a524211f536
parentdd354bd4a8ae8458691ffe09db68ef6eb8a804fe (diff)
Add jjb job to validate images
Change-Id: Ib1c29c39e845d3a30c4b82ef0b590f48df466a7b Signed-off-by: Ed Warnicke <eaw@cisco.com>
-rw-r--r--jjb/vpp/vpp.yaml54
1 files changed, 54 insertions, 0 deletions
diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml
index bfd802539..67e9d3473 100644
--- a/jjb/vpp/vpp.yaml
+++ b/jjb/vpp/vpp.yaml
@@ -3,6 +3,7 @@
jobs:
- 'vpp-verify-{branch}-{os}'
- 'vpp-merge-{branch}-{os}'
+ - 'vpp-verify-image-{branch}-{os}'
project: 'vpp'
os:
@@ -68,6 +69,59 @@
- shell:
!include-raw-escape include-raw-vpp-build.sh
+- job-template:
+ name: 'vpp-verify-image-{branch}-{os}'
+
+ project-type: freestyle
+ node: 'verify-image-{os}'
+ 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}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit:
+ server-name: 'Default'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'verify-images'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+
+ builders:
+ - shell:
+ !include-raw-escape include-raw-vpp-build.sh
- job-template:
name: 'vpp-merge-{branch}-{os}'