summaryrefslogtreecommitdiffstats
path: root/jjb/doctor/doctor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/doctor/doctor.yml')
-rw-r--r--jjb/doctor/doctor.yml68
1 files changed, 60 insertions, 8 deletions
diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml
index f9ee3de79..335eb7133 100644
--- a/jjb/doctor/doctor.yml
+++ b/jjb/doctor/doctor.yml
@@ -27,6 +27,7 @@
jobs:
- 'doctor-verify-{stream}'
- 'doctor-verify-{installer}-{inspector}-{stream}'
+ - 'doctor-profiling-{stream}'
- job-template:
name: 'doctor-verify-{stream}'
@@ -41,10 +42,7 @@
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
+ - git-scm-gerrit
triggers:
- gerrit:
@@ -130,10 +128,7 @@
description: "Show debug output information"
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
+ - git-scm-gerrit
triggers:
- gerrit:
@@ -176,3 +171,60 @@
publishers:
- archive:
artifacts: 'tests/*.log'
+
+- job-template:
+ name: 'doctor-profiling-{stream}'
+
+ disabled: '{obj:disabled}'
+
+ parameters:
+ - 'doctor-default'
+ - string:
+ name: PROFILER
+ default: poc
+ description: "Profiler to be used"
+
+ scm:
+ - git-scm-gerrit
+
+ triggers:
+ - 'doctor-experimental'
+
+#####################################
+# parameter macros
+#####################################
+# TODO(yujunz) replace common parameter in doctor-verify-{stream} with macro
+- parameter:
+ name: 'doctor-default'
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - 'opnfv-build-ubuntu-defaults'
+
+#####################################
+# trigger macros
+#####################################
+- trigger:
+ name: 'doctor-experimental'
+ triggers:
+ - gerrit:
+ server-name: 'gerrit.opnfv.org'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'check experimental'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: 'ANT'
+ pattern: 'tests/**'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true