move cache to pwd
This commit is contained in:
parent
2e510dca45
commit
608d3ad291
@ -9,12 +9,16 @@ deploy:
|
|||||||
- dind
|
- dind
|
||||||
variables:
|
variables:
|
||||||
TEST_BUILDVERSION: testing-build-cache-${CI_PIPELINE_ID}
|
TEST_BUILDVERSION: testing-build-cache-${CI_PIPELINE_ID}
|
||||||
|
before_script:
|
||||||
|
- mv gradle-build-cache /tmp/.gradleBuildCache/ || true
|
||||||
script:
|
script:
|
||||||
- ls /tmp/
|
- ls /tmp/
|
||||||
- ls /
|
- pwd
|
||||||
- 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:
|
||||||
|
- mv /tmp/.gradleBuildCache/ gradle-build-cache || true
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
dotenv: version.env
|
dotenv: version.env
|
||||||
|
|||||||
@ -82,13 +82,13 @@ tasks.named<BootBuildImage>("bootBuildImage") {
|
|||||||
|
|
||||||
buildCache {
|
buildCache {
|
||||||
bind {
|
bind {
|
||||||
source.set(".gradleBuildCache/cache-${project.name}.build")
|
source.set("/tmp/.gradleBuildCache/cache-${project.name}.build")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
launchCache {
|
launchCache {
|
||||||
bind {
|
bind {
|
||||||
source.set(".gradleBuildCache/cache-${project.name}.launch")
|
source.set("/tmp/.gradleBuildCache/cache-${project.name}.launch")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user