Enable CI maven cache

This commit is contained in:
Stephane Nicoll 2018-11-09 11:20:58 +01:00
parent 6037debe0a
commit 76b853a4e4
3 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
source $(dirname $0)/common.sh
repository=$(pwd)/distribution-repository repository=$(pwd)/distribution-repository
pushd git-repo > /dev/null pushd git-repo > /dev/null

4
ci/scripts/common.sh Normal file
View File

@ -0,0 +1,4 @@
source /opt/concourse-java.sh
setup_symlinks
cleanup_maven_repo "io.spring.initializr"

View File

@ -4,5 +4,7 @@ inputs:
- name: git-repo - name: git-repo
outputs: outputs:
- name: distribution-repository - name: distribution-repository
caches:
- path: maven
run: run:
path: git-repo/ci/scripts/build-project.sh path: git-repo/ci/scripts/build-project.sh