summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/bugzilla-post.yml
diff options
context:
space:
mode:
authordeepshikhaaa <deepshikhakhandelwal8@gmail.com>2017-08-03 10:10:27 +0530
committerNigel Babu <nigelb@redhat.com>2017-08-16 14:15:22 +0000
commit0bdaba0cf24347598c8d55e6b82a0ab64d83b1f0 (patch)
tree2e1ba083527027f5ffe2eccd7dd8fef2097c573e /build-gluster-org/jobs/bugzilla-post.yml
parenta704ed52cbeffa0d0a29829ad17feac5c2a056a3 (diff)
Job for posting comments on bugzilla through Jenkins
Change-Id: Ie866f7a1faa8629cc35667cc42b21b2afe7946ce
Diffstat (limited to 'build-gluster-org/jobs/bugzilla-post.yml')
-rw-r--r--build-gluster-org/jobs/bugzilla-post.yml48
1 files changed, 48 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/bugzilla-post.yml b/build-gluster-org/jobs/bugzilla-post.yml
new file mode 100644
index 0000000..b337f8f
--- /dev/null
+++ b/build-gluster-org/jobs/bugzilla-post.yml
@@ -0,0 +1,48 @@
+- job:
+ name: bugzilla-post
+ node: bugzilla
+ description: Reporting the status of bugs on Bugzilla
+ project-type: freestyle
+
+ scm:
+ - glusterfs
+
+ triggers:
+ - gerrit:
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: false
+ exclude-trivial-rebase: false
+ exclude-no-code-change: false
+ - change-merged-event
+ 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
+ - string:
+ default: 'true'
+ description: 'A parameter named DRY_RUN, defaults to true'
+ name: DRY_RUN
+
+ builders:
+ - shell: !include-raw: ../scripts/bugzilla-post.sh
+
+ wrappers:
+ - timestamps