From cd0bbe31652c8e73b526dd4f063f519ea075a76f Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 19 Oct 2019 14:53:50 +0200 Subject: Clone Functest repo before running tox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5df766d5ce87b680c5b2c8602a86b117f7063c74 Signed-off-by: Cédric Ollivier --- jjb/functest/functest-project-jobs.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'jjb/functest') diff --git a/jjb/functest/functest-project-jobs.yaml b/jjb/functest/functest-project-jobs.yaml index a7f54f4bb..0a836441b 100644 --- a/jjb/functest/functest-project-jobs.yaml +++ b/jjb/functest/functest-project-jobs.yaml @@ -50,11 +50,23 @@ name: slave default: '{slave}' +- scm: + name: functest-project-scm + scm: + - git: + url: https://gerrit.opnfv.org/gerrit/functest + refspec: '+refs/changes/*:refs/changes/*' + branches: + - '{ref}' + - job-template: name: 'functest-run-tox-{tag}' triggers: - functest-project-patchset-created: branch: '{branch}' + scm: + - functest-project-scm: + ref: $GERRIT_REFSPEC parameters: - functest-project-slave: slave: '{slave}' -- cgit 1.2.3-korg