docs(Templates): add mvn package docs
This commit is contained in:
parent
2a67778ec5
commit
e6a473562a
@ -2,15 +2,15 @@
|
||||
|
||||
= push-tag-and-version-template
|
||||
|
||||
This template creates a new tag und updates the version of your project in the repository.
|
||||
For more details: https://gitlab.exxcellent.de/gilden/ci/exxcellent-ssh-tool[Gilde CI/CD: exxcellent-ssh-tool].
|
||||
This template creates a new tag und updates the version of your project in the repository. Additionally, the template builds a new artifact with the `mvn package` command after setting the version which then can be exported with the gitlab-ci _artifacts_ keyword and used in subsequent stages.
|
||||
|
||||
For more details: https://gitlab.exxcellent.de/gilden/ci/exxcellent-ssh-tool[Gilde CI/CD: exxcellent-ssh-tool].
|
||||
|
||||
.Variables
|
||||
|===
|
||||
|Name |Description | Default Value
|
||||
|ARTIFACT | the name of the artifact the new version is written to by the `set-version` job |"version"
|
||||
|MVN_VERSION | defines if the `mvn version:set` command will be run | "true"
|
||||
|MVN_VERSION | defines if the `mvn version:set` command will be run. Additionally creates a new artifact with the `mvn package` command which can be exported within the _artifacts_ section | "true"
|
||||
|MVN_EXTRA_ARGS | sets extra args which will be added behind the `mvn` command | ""
|
||||
|===
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user