gilde-ci-cd/documentation/chapters/templates/common/common-ci-variablen.adoc

25 lines
1.3 KiB
Plaintext

:gitlab-ci-file: common/common-ci-variablen.gitlab-ci.yml
[[Generel-Variablen]]
== Generelle Variablen
Getting the correct and best variables and configurations can be very hard.
Within the `{gitlab-ci-file}` file we provide common CI-Variablen.
These variables collect best practices from different projekts and the official Gitlab-CI documentation.
It is possible to include this file directly within your project.
Some of our Templates and Pipelines rely on the following variables.
|===
|Name |Description
|MAVE_IMAGE| The container image that will be used in jobs using Maven. We provide a https://www.exxcellent.de/confluence/pages/viewpage.action?pageId=119212963[Maven Base] Image with the eXXcellent Certificate.
|NODE_IMAGE| The container image that will be used in jobs using NPM.
|MAVEN_OPTS| Generell options to change the Maven configurations.
|MAVEN_CLI_OPTS| Options to change the Maven configurations on build time.
|GRADLE_OPTS| Generell options to change the Gradle configurations.
|FRONTEND_DIR| Directory where the frontend code can be found. This is useful when the repository contains frontend and backend Code.
|BACKEND_DIR| Directory where the backend code can be found. This is useful when the repository contains frontend and backend Code.
|===
:template: {gitlab-ci-file}
include::../../../template-printer.adoc[]