Skip to content
Snippets Groups Projects
Commit a93b285f authored by Lukas Malte Monnerjahn's avatar Lukas Malte Monnerjahn
Browse files

cut '-SNAPSHOT' from image and helm tags

parent eafea227
Branches
Tags 2.18.0
No related merge requests found
Pipeline #1655 passed
......@@ -51,7 +51,7 @@ test-helm:
.get-version:
before_script:
- export PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout $MAVEN_CLI_OPTS)
- export PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout $MAVEN_CLI_OPTS | cut -d'-' -f1)
- export PROJECT_ARTIFACTID=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout $MAVEN_CLI_OPTS)
- export NEXUS_IMAGE_PREFIX="docker.ozg-sh.de/${PROJECT_ARTIFACTID}"
- export MERGE_REQUEST_TAG="${PROJECT_VERSION}-MR-${CI_MERGE_REQUEST_IID}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment