|
||||||||
|
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 |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

It's so simple it could well be available somewhere to teach people about writing plugins. Hence, it could be sample code.
Behold: https://github.com/daniel-beck/unsafe-restart-plugin
Just git clone, mvn -DskipTests verify (Maven 3.0.5+) and install the resulting target/unsafe-restart.hpi by uploading on Manage Jenkins » Manage Plugins » Advanced
Note that I don't think making this particular URL accessible from a management link in core would be a good idea, as it's quite dangerous in the sense that it would kill builds in progress. Too accident prone for the default config IMO.