ci: add Jenkins pipeline with JaCoCo coverage reports
This commit is contained in:
@@ -72,6 +72,22 @@ macOS x86_64 remains a target with an upstream toolchain availability limitation
|
||||
GraalVM 25 dropped that port; see [roadmap](docs/roadmap.md). Local verification
|
||||
results, including which native binaries were actually tested, are in [experiments](docs/experiments.md).
|
||||
|
||||
## Jenkins tests and coverage
|
||||
|
||||
The Jenkins pipeline is [files/config/Jenkinsfile](files/config/Jenkinsfile). Configure
|
||||
that Script Path in a Pipeline from SCM job on a Unix agent with JDK 25 and Git.
|
||||
It runs tests with JaCoCo and publishes JUnit, coverage XML/HTML and raw execution
|
||||
data, including available diagnostics after failures. Coverage gates follow Studio.
|
||||
|
||||
```sh
|
||||
./gradlew test jacocoTestReport jenkinsPipelineTest --continue --console=plain
|
||||
```
|
||||
|
||||
Coverage HTML is generated at
|
||||
`build/reports/jacoco/jacocoTestReport/html/index.html`. See the
|
||||
[Jenkins setup and verification guide](files/config/README.md) for required plugins,
|
||||
thresholds, report paths and the boundary between local checks and a controller run.
|
||||
|
||||
## Start in a simple project
|
||||
|
||||
Run inside the folder you already use for your application, game or library:
|
||||
|
||||
Reference in New Issue
Block a user