summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-10-19 14:53:50 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-10-19 14:53:50 +0200
commitcd0bbe31652c8e73b526dd4f063f519ea075a76f (patch)
treeac559832b484cb89f6a2ffde85a5748edf4984c5 /jjb
parent502e0f5fbe1925c79ecc52175f1aac342b53d7fb (diff)
Clone Functest repo before running tox
Change-Id: I5df766d5ce87b680c5b2c8602a86b117f7063c74 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/functest/functest-project-jobs.yaml12
1 files changed, 12 insertions, 0 deletions
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}'