Using plugin as "Update JIRA issues", DIscover Issues by "Mentioned somewhere in commit message"
Plugin seems to fail to extract JIRA ticket in certain conditions, like example shown below
where Commit message contains "Message...ticket#..3 spaces"
If I add \n to the end - jira plugin parses the commit line fine and extracts JIRA ticket fine
Commit string in GIT (shown in single quotes):
'Testing JIRA (ticket with a few spaces at the end and no EOL) SBUSWIT-141 '
Jenkins output (fails to show JIRA ticket SBUSWIT-141 and ticket is not updated)
14:26:14 Updating JIRA tickets
14:26:14 ChangeLogSet class: class hudson.plugins.git.GitChangeSetList
14:26:14 Operation: Add a comment
14:26:14 Operation: Transition tickets
14:26:14 Finish updating JIRA tickets
14:26:14 Collecting metadata...
14:26:14 Metadata collection done.
14:26:14 Finished: SUCCESS