summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}'