mirror of
https://gitee.com/dcren/initializr.git
synced 2025-07-15 23:13:30 +08:00
Enable CI maven cache
This commit is contained in:
parent
6037debe0a
commit
76b853a4e4
@ -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
4
ci/scripts/common.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
source /opt/concourse-java.sh
|
||||||
|
|
||||||
|
setup_symlinks
|
||||||
|
cleanup_maven_repo "io.spring.initializr"
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user