Update .gitlab-ci.yml
This commit is contained in:
parent
096544d8e2
commit
a71ee61e1b
@ -7,18 +7,13 @@ include:
|
|||||||
ref: 'main'
|
ref: 'main'
|
||||||
file: 'ci-templates/gradle_java.yml'
|
file: 'ci-templates/gradle_java.yml'
|
||||||
|
|
||||||
deploy:
|
deploy JavaDoc:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
tags:
|
tags:
|
||||||
- dind
|
- dind
|
||||||
script:
|
script:
|
||||||
- echo "Building with gradle version ${BUILDVERSION}"
|
- echo "Building JavaDoc with gradle version ${BUILDVERSION}"
|
||||||
- gradle -Pversion=${BUILDVERSION} publish
|
- gradle -Pversion=${BUILDVERSION} publish
|
||||||
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=${BUILDVERSION}
|
|
||||||
- echo "BUILDVERSION=$BUILDVERSION" >> version.env
|
|
||||||
artifacts:
|
|
||||||
reports:
|
|
||||||
dotenv: version.env
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
- if: $CI_COMMIT_BRANCH =~ /^release/
|
- if: $CI_COMMIT_BRANCH =~ /^release/
|
||||||
@ -37,4 +32,4 @@ generateJavaDoc:
|
|||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
- if: $CI_COMMIT_BRANCH =~ /^release/
|
- if: $CI_COMMIT_BRANCH =~ /^release/
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user