From ce7ab72c78031b0f7eddec9291152b59c5a534f5 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 24 Nov 2018 13:17:40 +0100 Subject: Gate Functest tests when +2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It will update to Workflow as soon as possible. Change-Id: Id12afa6836b4cc0129666480eb92c36132c32823 Signed-off-by: Cédric Ollivier --- jjb/functest/functest-virtual.yaml | 2 +- jjb/global/releng-macros.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) (limited to 'jjb') 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: -- cgit 1.2.3-korg