From 2386284a84aa6e5eb7d04fb6ccee5fa115dedbb5 Mon Sep 17 00:00:00 2001 From: ahothan Date: Fri, 31 May 2019 15:56:48 -0700 Subject: 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 --- jjb/nfvbench/nfvbench.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'jjb/nfvbench') 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 -- cgit 1.2.3-korg