Update .gitlab-ci.yml file
This commit is contained in:
parent
aba925acac
commit
736fa834aa
@ -10,18 +10,16 @@ deploy:
|
||||
variables:
|
||||
TEST_BUILDVERSION: testing-build-cache-${CI_PIPELINE_ID}
|
||||
script:
|
||||
# - cat .tmp/hello-world.txt || true
|
||||
# - mv .gradleBuildCache/ /tmp/.gradleBuildCache/ || true
|
||||
- echo "Building with gradle version ${TEST_BUILDVERSION}"
|
||||
- gradle -Pversion=${TEST_BUILDVERSION} publish
|
||||
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=${TEST_BUILDVERSION}
|
||||
after_script:
|
||||
- mkdir -p .gradleBuildCache
|
||||
# - mkdir -p .gradleBuildCache
|
||||
- ls -al `pwd`/.gradle
|
||||
- du -sh `pwd`/.gradle/* | sort -h
|
||||
# - mv /tmp/.gradleBuildCache/ .gradleBuildCache/ || true
|
||||
- rm .gradle/caches/modules-2/gc.properties .gradle/caches/modules-2/modules-2.lock
|
||||
- echo "hello-world" > .tmp/hello-world.txt
|
||||
artifacts:
|
||||
reports:
|
||||
dotenv: version.env
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user