Skip to content

Commit

Permalink
Update pipeline to use caches
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Syer committed Jul 4, 2017
1 parent 7a357b3 commit 462a6fa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pipeline.yml
Expand Up @@ -31,10 +31,20 @@ jobs:
repository: springio/spring-ci-base
inputs:
- name: source
caches:
- path: source/.m2
- path: source/.gradle
run:
dir: source
path: ./mvnw
args: [deploy, "-s", ".mvn/settings.xml"]
path: sh
args:
- -c
- |
rm -rf ~/.m2 ~/.gradle
ln -s $(pwd)/.m2 ~/.m2
ln -s $(pwd)/.gradle ~/.gradle
./mvnw deploy -s .mvn/settings.xml
params:
TERM: -dumb
passphrase: {{passphrase}}
Expand Down

0 comments on commit 462a6fa

Please sign in to comment.