Skip to content

Commit 8cb88b2

Browse files
committed
Add JIRA ID to email subject line
1 parent e8dbcdf commit 8cb88b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void resultNotification(message) {
109109
jiraAddComment site: 'JIRA', idOrKey: JIRA_ID, failOnError: false, input: comment
110110
mail charset: 'UTF-8', mimeType: 'text/html', to: "${emailList}", body: "${jira_email_body}", subject: "${message}: ${env.JOB_NAME} #${env.BUILD_NUMBER}"
111111
} else {
112-
mail charset: 'UTF-8', mimeType: 'text/html', to: "${emailList}", body: "${email_body}", subject: "${message}: ${env.JOB_NAME} #${env.BUILD_NUMBER}"
112+
mail charset: 'UTF-8', mimeType: 'text/html', to: "${emailList}", body: "${email_body}", subject: "${message}: ${env.JOB_NAME} #${env.BUILD_NUMBER} - ${JIRA_ID}"
113113
}
114114
}
115115

0 commit comments

Comments
 (0)