Refactor the ci/cleanupArtifacts.sh script to disable the removal of .gradle/ and .m2/ directory (cached) files.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
rm -Rf ./.gradle
|
||||
rm -Rf ./.m2
|
||||
#rm -Rf ./.gradle
|
||||
#rm -Rf ./.m2
|
||||
rm -Rf `find . -name "build" | grep -v "src"`
|
||||
rm -Rf `find . -name "target" | grep -v "src"`
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user