@groovy.transform.CompileStatic class BootRunExitCodeVerifier extends java.lang.Object implements Action<Task>
A bootRun doLast action that treats a deliberate stop as a successful build.
stop-app and Ctrl+C terminate the forked application gracefully (SIGTERM /
SIGINT), so it exits 143 / 130. JavaExec would otherwise report that non-zero exit as
BUILD FAILED; this tolerates the signal-termination codes while still failing for any
other non-zero exit. Used with ignoreExitValue = true on the task.
| Constructor and description |
|---|
BootRunExitCodeVerifier() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |