Closed MRamonLeon closed 5 years ago
Avoid using the System.exit instruction because it kills the JVM in the server. Specifically it kills the Jenkins instance running in the same machine. For example, when this process is called with wrong arguments.
@reviewbybees @kohsuke
I think that at the point where the System.exit is called there is no other threads created and it's safe to do a return instead of a System.exit.
JENKINS-53394 I presume. Please maintain cross-links.
Avoid using the System.exit instruction because it kills the JVM in the server. Specifically it kills the Jenkins instance running in the same machine. For example, when this process is called with wrong arguments.
@reviewbybees @kohsuke