This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-env.git
The following commit(s) were added to refs/heads/master by this push:
new b72fddf remove jira from Jenkins notifications
b72fddf is described below
commit b72fddf60c2397fbcd50964934fb3c43ada3715f
Author: Olivier Lamy <[email protected]>
AuthorDate: Mon Mar 9 20:43:03 2026 +1000
remove jira from Jenkins notifications
---
vars/jenkinsNotify.groovy | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/vars/jenkinsNotify.groovy b/vars/jenkinsNotify.groovy
index 1f695cd..1d33abd 100644
--- a/vars/jenkinsNotify.groovy
+++ b/vars/jenkinsNotify.groovy
@@ -62,31 +62,6 @@ def call(Map params = [:]) {
return
}
- // comment on any jira tickets
- def jiraIssues = null
- def jiraMavens = []
- try {
- jiraIssues = jiraIssueSelector(issueSelector: [$class:
'DefaultIssueSelector'])
- for (def jiraIssue in jiraIssues) {
- // only comment on maven's issues, all our trackers start with M
- // may end up commenting on other TLPs in some cases but should be
very rare
- if (jiraIssue.startsWith("M")) {
- try {
- jiraComment body: "${messageSubject}\n\n${messageBody}",
issueKey: jiraIssue
- } catch (e) {
- echo "WARNING: Could not update ${jiraIssue}: ${e.message}"
- }
- jiraMavens += jiraIssue
- }
- }
- } catch (e) {
- echo "WARNING: Could not determine JIRA issues: ${e.message}"
- }
- // set the build description to the jira ticket id's
- if (!jiraMavens.empty) {
- currentBuild.description = "${jiraMavens.join(', ')}"
- }
-
// add the changes to the email
def authors = []
if (currentBuild.changeSets.isEmpty() ) {