Run the suite in CI
For a project that already runs locally. The result is the same suite running in a pipeline without a display, and an Allure archive saved as a build artifact.
Steps
- Use a JDK and Maven that match Install SHAFT.
- Run:
mvn -e test \
-DheadlessExecution=true \
-Dallure.automaticallyOpen=false \
-Dallure.generateArchive=true
- Publish the Allure results or archive your pipeline already collects. The job is done when the test command exits and the archive artifact exists.
Property overrides and Jenkins or GitHub Actions notes stay on Running tests in CI/CD pipelines.