gilde-ci-cd/documentation/chapters/templates/java/gradle/gradle-test-template.adoc
2022-07-08 09:55:35 +02:00

27 lines
703 B
Plaintext

:sourcedir: ../../../../../templates/
ifndef::imagesdir[]
:imagesdir: ../../../../images/
endif::[]
= Gradle Database Diff
This templates starts `gradle test` and saves the results as Artifacts.
When Junit Reports are generated they will be published as Artefacts within the Pipelines.
You can get a detailed view when clicking on Tests.
For more information look into the official https://docs.gitlab.com/ee/ci/unit_test_reports.html[Documentation].
image::GitlabCiTest.png[]
.Variables
|===
|Name |Description | Default Value
|GRADLE_CLI_OPTS | Zusätzliche CLI Opts für Gradle | ""
|===
.gradle-test-template
[source,yaml]
----
include::{sourcedir}java/gradle/gradle-test.gitlab-ci.yml[]
----