Restart jenkins immediately when using war file method