diff options
author | Nigel Babu <nigelb@redhat.com> | 2017-05-05 13:10:16 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2017-05-18 11:04:39 +0530 |
commit | 77ff3791ba08da345af516660efc5495332e4c78 (patch) | |
tree | e6ecc09f88c846facf62f62fb51d0948bf67dace /build-gluster-org/jobs/comment-on-issue.yml | |
parent | ee768e5cad83c9f0588042462cbc87ff22e19e16 (diff) |
Comment on issue
This job will comment on issues from the commit message
Change-Id: I689a2ccf6bb7fefeffa078aed36cc051c66504b6
Updates: #20
Fixes: #8
Fixes: gluster/glusterfs#5
Diffstat (limited to 'build-gluster-org/jobs/comment-on-issue.yml')
-rw-r--r-- | build-gluster-org/jobs/comment-on-issue.yml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/comment-on-issue.yml b/build-gluster-org/jobs/comment-on-issue.yml new file mode 100644 index 0000000..fc6c333 --- /dev/null +++ b/build-gluster-org/jobs/comment-on-issue.yml @@ -0,0 +1,47 @@ +- job: + name: comment-on-issue + node: bugzilla + description: If a Github issue number is mentioned in a commit, comment on + the issue + project-type: freestyle + + scm: + - glusterfs + + triggers: + - gerrit: + trigger-on: + - patchset-created-event: + exclude-drafts: false + exclude-trivial-rebase: false + exclude-no-code-change: false + - draft-published-event + - comment-added-contains-event: + comment-contains-value: "recheck smoke" + server-name: review.gluster.org_for-smoke-jobs + override-votes: 1 + gerrit-build-failed-verified-value: 0 + gerrit-build-unstable-verified-value: 0 + gerrit-build-notbuilt-verified-value: 0 + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'glusterfs' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**' + + parameters: + - string: + default: refs/heads/master + description: 'For review 12345 and patch set 6, this will be refs/changes/45/12345/6. Default: Tip of master' + name: GERRIT_REFSPEC + - string: + default: master + description: 'Name of the branch you want to build from. We usually build from master' + name: GERRIT_BRANCH + + builders: + - shell: /opt/qa/update-issue.py + + wrappers: + - timestamps |