Attempt to speedup build by prepopulating maven cache

This commit is contained in:
Kris De Volder
2017-04-04 08:07:03 -07:00
parent d91995ece0
commit 2b671d1a1e
2 changed files with 12 additions and 2 deletions

View File

@@ -115,8 +115,10 @@ jobs:
file: out/*.tar.gz
- name: build-vsix-snapshots
plan:
- get: sts4
trigger: true
- aggregate:
- get: sts4
trigger: true
- get: maven-cache
- task: build-vscode-extensions
file: sts4/concourse/tasks/build-vscode-extensions.yml
on_success:

View File

@@ -2,6 +2,14 @@
set -e
workdir=`pwd`
if [ -d "maven-cache" ]; then
echo "Prepopulating maven cache"
tar xzvf maven-cache/*.tar.gz -C ${HOME}
else
echo "!!!No stored maven cache found!!! "
echo "!!!This may slow down the build!!!"
fi
cd sts4/vscode-extensions
./build-all.sh