: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[]
----