From: Cédric Ollivier Date: Sat, 24 Nov 2018 12:17:40 +0000 (+0100) Subject: Gate Functest tests when +2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ce7ab72c78031b0f7eddec9291152b59c5a534f5;hp=c8765055df82461e9210706d04f4a8d09a440d68;p=releng.git Gate Functest tests when +2 It will update to Workflow as soon as possible. Change-Id: Id12afa6836b4cc0129666480eb92c36132c32823 Signed-off-by: Cédric Ollivier --- diff --git a/jjb/functest/functest-virtual.yaml b/jjb/functest/functest-virtual.yaml index 0be027485..baadf12e6 100644 --- a/jjb/functest/functest-virtual.yaml +++ b/jjb/functest/functest-virtual.yaml @@ -338,7 +338,7 @@ project-type: multijob <<: *functest-gateparameters triggers: - - gerrit-trigger-patchset-created: + - gerrit-trigger-patchset-approved: project: 'functest' branch: '{branch}' files: '**' diff --git a/jjb/global/releng-macros.yaml b/jjb/global/releng-macros.yaml index fe24ed56d..6c37bbbd9 100644 --- a/jjb/global/releng-macros.yaml +++ b/jjb/global/releng-macros.yaml @@ -199,6 +199,32 @@ unstable: false notbuilt: false +- trigger: + name: gerrit-trigger-patchset-approved + triggers: + - gerrit: + server-name: 'gerrit.opnfv.org' + trigger-on: + - comment-added-event: + approval-category: 'CRVW' + approval-value: 2 + - comment-added-contains-event: + comment-contains-value: 'gate' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + file-paths: + - compare-type: 'ANT' + pattern: '{files}' + skip-vote: + successful: false + failed: false + unstable: false + notbuilt: false + - trigger: name: gerrit-trigger-change-merged triggers: