diff options
author | rohitsakala <rohitsakala@gmail.com> | 2017-02-10 21:33:30 +0530 |
---|---|---|
committer | Rohit Sakala <rohitsakala@gmail.com> | 2017-02-10 16:08:07 +0000 |
commit | cb0475995e5c55304aa0d3b19fcc4426b7ced49f (patch) | |
tree | 1e64d007f6b4cc84cc203dc68fa8b1ab7c0648f9 | |
parent | e93b8ee0448786f9621d8bb7f58b34c0718c7294 (diff) |
Add parameters and change trigger to change-merged
Trigger is changed to change-merged for testing and will be reverted to
weekly once there is a successful build
Change-Id: I99a7f49e3d05e4915f1a2dd225fcf4ffde312df3
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
-rw-r--r-- | jjb/releng/testapi-automate.yml | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/jjb/releng/testapi-automate.yml b/jjb/releng/testapi-automate.yml index 0b6c36e59..73b600ddf 100644 --- a/jjb/releng/testapi-automate.yml +++ b/jjb/releng/testapi-automate.yml @@ -15,15 +15,22 @@ - 'testapi-automate-{stream}' - 'testapi-automate-{phase}-{stream}' - 'testapi-verify-{stream}' + - 'testapi-mongodb-backup' project: 'releng' - job: name: 'testapi-mongodb-backup' - slave-label: 'testresults' - parameters: + - label: + name: SLAVE_LABEL + default: 'testresults' + description: 'Slave label on Jenkins' + - string: + name: GIT_BASE + default: https://gerrit.opnfv.org/gerrit/$PROJECT + description: 'Git URL to use on this Jenkins Slave' - project-parameter: project: '{project}' branch: '{branch}' @@ -31,8 +38,24 @@ scm: - git-scm + #triggers: + # - timed: '@weekly' triggers: - - timed: '@weekly' + - gerrit: + server-name: 'gerrit.opnfv.org' + trigger-on: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: 'remerge' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + file-paths: + - compare-type: 'ANT' + pattern: 'utils/test/testapi/**' builders: - mongodb-backup |