move assemble to deploy stage
This commit is contained in:
parent
3718340834
commit
261fb8e63b
@ -16,6 +16,7 @@ deploy:
|
|||||||
- docker pull nexus.knecon.com:5001/ff/ocr-service-server:latest
|
- docker pull nexus.knecon.com:5001/ff/ocr-service-server:latest
|
||||||
- mv .gradleBuildCache/ /tmp/.gradleBuildCache/ || true
|
- mv .gradleBuildCache/ /tmp/.gradleBuildCache/ || true
|
||||||
- ls -al
|
- ls -al
|
||||||
|
- gradle assemble
|
||||||
- echo "Building with gradle version testing-build-cache-${CI_PIPELINE_ID}"
|
- echo "Building with gradle version testing-build-cache-${CI_PIPELINE_ID}"
|
||||||
- gradle -Pversion=testing-build-cache-${CI_PIPELINE_ID} publish
|
- gradle -Pversion=testing-build-cache-${CI_PIPELINE_ID} publish
|
||||||
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=testing-build-cache-${CI_PIPELINE_ID}
|
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=testing-build-cache-${CI_PIPELINE_ID}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user