diff options
author | Nigel Babu <nigelb@redhat.com> | 2017-05-18 11:46:51 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2017-05-19 08:35:30 +0530 |
commit | e4364562d91bdced21f494f4425a22d8966ea1aa (patch) | |
tree | e2e6528cc78584ee761639fd0acc23598132feac | |
parent | 77ff3791ba08da345af516660efc5495332e4c78 (diff) |
Create a new job for untriaged bug report
Change-Id: I3fad33f3612e18fe1f03c10430064fff0375383a
-rw-r--r-- | build-gluster-org/jobs/untriaged-bugs.yml | 22 | ||||
-rw-r--r-- | build-gluster-org/scripts/untriaged-bugs.sh | 5 |
2 files changed, 27 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/untriaged-bugs.yml b/build-gluster-org/jobs/untriaged-bugs.yml new file mode 100644 index 0000000..e01360e --- /dev/null +++ b/build-gluster-org/jobs/untriaged-bugs.yml @@ -0,0 +1,22 @@ +- job: + name: untriaged-bugs + node: bugzilla + description: "List out the untriaged bugs" + project-type: freestyle + + triggers: + - timed: "H 1 * * 1" + + publishers: + - email-ext: + recipients: gluster-devel@gluster.org + subject: Weekly Untriaged Bugs + body: '${BUILD_LOG_REGEX,regex="^http.*"}' + attach-build-log: true + success: true + + builders: + - shell: !include-raw: ../scripts/untriaged-bugs.sh + + wrappers: + - timestamps diff --git a/build-gluster-org/scripts/untriaged-bugs.sh b/build-gluster-org/scripts/untriaged-bugs.sh new file mode 100644 index 0000000..134035d --- /dev/null +++ b/build-gluster-org/scripts/untriaged-bugs.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -e +echo "Weekly GlusterFS Untriaged Bugs Report" +echo "" +bugzilla query --outputformat='https://bugzilla.redhat.com/%{id} / %{component}: %{summary}' --from-url='https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&product=GlusterFS&chfield=[Bug creation]&chfieldfrom=-4w&chfieldto=Now&f1=keywords&o1=notsubstring&v1=Triaged' | sort -k 3 |