change var name for build version for testing purposes

This commit is contained in:
Sinan Ta 2024-01-11 15:20:37 +01:00
parent 65545f532b
commit 61e1519e22

View File

@ -1,6 +1,6 @@
include:
- project: 'gitlab/gitlab'
ref: 'main'
ref: 'gradle-cache'
file: 'ci-templates/gradle_java.yml'
deploy:
@ -8,10 +8,9 @@ deploy:
tags:
- dind
script:
- echo "Building with gradle version ${BUILDVERSION}"
- gradle -Pversion=${BUILDVERSION} publish
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=${BUILDVERSION}
- echo "BUILDVERSION=$BUILDVERSION" >> version.env
- echo "Building with gradle version ${TEST_BUILDVERSION}"
- gradle -Pversion=${TEST_BUILDVERSION} publish
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=${TEST_BUILDVERSION}
artifacts:
reports:
dotenv: version.env