If you run gw check, jacocoTestReport runs first and check runs only if jacocoTestReport was successful.
If you run gw test, jacocoTestReport is run after test finished, no matter whether test was successful or not (unless there additionally is jacocoTestReport.dependsOn(test), then only if test was successful).