To run Codecov from bash ./gradlew jacocoTestReport bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN Source: Codecov Gradle Example