Jenkins can not restart after plugin update if jenkins' java is started with 'java' and without full path.
It doesn't rexec itself with the following logs:
Warnung: Failed to restart Jenkins
java.io.IOException: Failed to exec 'java' Datei oder Verzeichnis nicht gefunden
It seems to be caused by this recent change:
From a quick look I guess this could be fixed by using execvp instead of execv as below:
- LIBC.execv(exe, new StringArray(args.toArray(new String[args.size()])));
+ LIBC.execvp(exe, new StringArray(args.toArray(new String[args.size()])));
I understand that for those calling java as /usr/bin/java the execv approach should work, but without the full path it should still work IMHO.