diff options
author | Ryota Mibu <r-mibu@cq.jp.nec.com> | 2017-01-04 04:22:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-01-04 04:22:22 +0000 |
commit | d16036fdd1a6335af617c1520c989fc43db6278c (patch) | |
tree | db498358649be012d3929aec9712f27aebb3d269 /jjb | |
parent | 0520eae9676a06946dee8545d8cae61f80648ce2 (diff) | |
parent | bb1512d03e475f25ef6cad4303e27e581f6c5d52 (diff) |
Merge "Add profiler parameter to doctor verify job"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/doctor/doctor.yml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml index 2e26071d7..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}' @@ -170,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 |