I can test "if(currentSaveable instanceof AbstractBuild)" and then cast the Saveable into AbstractBuild when I can retrieve job name (which is more simpler )

But I'm not a big fan of making glitches in code just for this.

Isn't your problem due to your user too ? Who doesn't enter any commit message in message prompt ?

Eventually, I wouldn't be against a configuration flag allowing to make commit message mandatory if checked. WDYT ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to