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