The job starts before it issues the safe restart command (obviously), then it finishes, then Jenkins restarts. I've tested this before posting.
On 28.02.2014, at 13:48, AndyB <[email protected]> wrote: > I suspect that the safe-restart waits for no jobs to be running (that's the > whole point of it after all), so issuing from a job might not work -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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/groups/opt_out.
