summaryrefslogtreecommitdiffstats
path: root/jjb/nfvbench
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2019-05-31 15:56:48 -0700
committerahothan <ahothan@cisco.com>2019-05-31 15:56:48 -0700
commit2386284a84aa6e5eb7d04fb6ccee5fa115dedbb5 (patch)
treef860c197d0590e1b6e226391cfdc264707035d17 /jjb/nfvbench
parent7a5fddd061b4573d7e96ad7d6c49f456bb17e988 (diff)
Adjust nfvbench build verification
on new patchset, add a script to build the VM is the versioned VM is not present in google storage on merge, call the script to build the versioned VM and upload to google storage using gsutil if the VM is not present in google storage Change-Id: I540943289ed9f282c42f60ef4c644d025fe7768e Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'jjb/nfvbench')
-rw-r--r--jjb/nfvbench/nfvbench.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/nfvbench/nfvbench.yaml b/jjb/nfvbench/nfvbench.yaml
index ec6776f81..a9efb272a 100644
--- a/jjb/nfvbench/nfvbench.yaml
+++ b/jjb/nfvbench/nfvbench.yaml
@@ -44,8 +44,7 @@
- gerrit:
server-name: 'gerrit.opnfv.org'
trigger-on:
- - comment-added-contains-event:
- comment-contains-value: 'buildvm'
+ - change-merged-event
projects:
- project-compare-type: 'ANT'
project-pattern: '{project}'
@@ -96,3 +95,5 @@
builders:
- shell: |
cd $WORKSPACE && tox
+ cd $WORKSPACE/nfvbenchvm/dib
+ bash verify-image.sh -v