summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2020-03-16 09:21:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-03-16 09:21:51 +0000
commit991cb8180af6183bcc30c5585dd0788fe3c9ee5f (patch)
tree44e444f29015747a3e587131357abc99282104b8 /jjb
parent06bd9b521dd002c50de27d2ddcb55897a0f03597 (diff)
parentf3c2d76b395f5f3fcf09158e1b5aac833aa35894 (diff)
Merge "JJB: Added Jenkins build job for CIRV."
Diffstat (limited to 'jjb')
-rw-r--r--jjb/cirv/cirv-views.yaml6
-rw-r--r--jjb/cirv/cirv.yaml71
2 files changed, 77 insertions, 0 deletions
diff --git a/jjb/cirv/cirv-views.yaml b/jjb/cirv/cirv-views.yaml
new file mode 100644
index 000000000..17d4e875a
--- /dev/null
+++ b/jjb/cirv/cirv-views.yaml
@@ -0,0 +1,6 @@
+---
+- project:
+ name: cirv-view
+ views:
+ - project-view
+ project-name: cirv
diff --git a/jjb/cirv/cirv.yaml b/jjb/cirv/cirv.yaml
new file mode 100644
index 000000000..04ca9fd27
--- /dev/null
+++ b/jjb/cirv/cirv.yaml
@@ -0,0 +1,71 @@
+---
+- cirv-project-params: &cirv-project-params
+ name: 'cirv-project-params'
+ tag:
+ - latest:
+ branch: master
+ slave: intel-pod15
+
+- builder:
+ name: cirv-run-tox
+ builders:
+ - shell: tox
+
+- trigger:
+ name: cirv-project-patchset-created
+ triggers:
+ - gerrit:
+ server-name: 'gerrit.opnfv.org'
+ trigger-on:
+ - patchset-created-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ - comment-added-contains-event:
+ comment-contains-value: 'reverify'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: 'cirv'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: false
+ failed: false
+ unstable: false
+ notbuilt: false
+
+- parameter:
+ name: cirv-project-slave
+ parameters:
+ - label:
+ name: slave
+ default: '{slave}'
+
+- scm:
+ name: cirv-project-scm
+ scm:
+ - git:
+ url: https://gerrit.opnfv.org/gerrit/cirv
+ refspec: '+refs/changes/*:refs/changes/*'
+ branches:
+ - '{ref}'
+
+- job-template:
+ name: 'cirv-run-tox-{tag}'
+ triggers:
+ - cirv-project-patchset-created:
+ branch: '{branch}'
+ scm:
+ - cirv-project-scm:
+ ref: $GERRIT_REFSPEC
+ parameters:
+ - cirv-project-slave:
+ slave: '{slave}'
+ builders:
+ - cirv-run-tox
+
+- project:
+ name: 'cirv-run-tox'
+ <<: *cirv-project-params
+ jobs:
+ - 'cirv-run-tox-{tag}'