This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new f0b4569 [hotfix][travis] Exclude all jars from cache
f0b4569 is described below
commit f0b4569ae3c93948dc227c98aab605a79ff3ef4a
Author: Chesnay Schepler <[email protected]>
AuthorDate: Fri Apr 26 13:49:41 2019 +0200
[hotfix][travis] Exclude all jars from cache
Jar caching is not required since they are rebuilt in the test profiles
anyway.
---
tools/travis_controller.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/travis_controller.sh b/tools/travis_controller.sh
index e6772d7..599b409 100755
--- a/tools/travis_controller.sh
+++ b/tools/travis_controller.sh
@@ -138,8 +138,8 @@ if [ $STAGE == "$STAGE_COMPILE" ]; then
# the packing&upload / download&unpacking process
# by removing files not required for subsequent stages
- # original jars
- find "$CACHE_FLINK_DIR" -maxdepth 8 -type f -name 'original-*.jar'
| xargs rm -rf
+ # jars are re-built in subsequent stages, so no need to cache them
(cannot be avoided)
+ find "$CACHE_FLINK_DIR" -maxdepth 8 -type f -name '*.jar' | xargs
rm -rf
# .git directory
# not deleting this can cause build stability issues