gitlab-ci: improve caching of gradle stuff

This commit is contained in:
Hans-Christoph Steiner 2016-04-11 16:06:01 -04:00
parent d8c87c3d4b
commit 3112ba75c9

View File

@ -54,6 +54,8 @@ gradle:
cat "$log" | curl --silent -F 'clbin=<-' https://clbin.com; cat "$log" | curl --silent -F 'clbin=<-' https://clbin.com;
done done
- sed -n 's/.*"ctr2">\([0-9]*\)%<.*/Coverage - \1.0% covered\n/p' app/build/reports/coverage/debug/index.html - sed -n 's/.*"ctr2">\([0-9]*\)%<.*/Coverage - \1.0% covered\n/p' app/build/reports/coverage/debug/index.html
# this file changes every time but should not be cached
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
- exit $EXITVALUE - exit $EXITVALUE
pmd: pmd: