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
commit 5f719e748a0450d385182aaa8312df114b38e30a Author: Chesnay Schepler <[email protected]> AuthorDate: Fri Aug 11 10:06:54 2023 +0200 [FLINK-32834] Clean/overwrite pre-existing tmp files - support repeated usages of the scripts --- tools/ci/compile.sh | 1 + tools/ci/verify_scala_suffixes.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ci/compile.sh b/tools/ci/compile.sh index 4c38931085b..92b8d331755 100755 --- a/tools/ci/compile.sh +++ b/tools/ci/compile.sh @@ -32,6 +32,7 @@ MVN_CLEAN_COMPILE_OUT="/tmp/clean_compile.out" # Deploy into this directory, to run license checks on all jars staged for deployment. # This helps us ensure that ALL artifacts we deploy to maven central adhere to our license conditions. MVN_VALIDATION_DIR="/tmp/flink-validation-deployment" +rm -rf ${MVN_VALIDATION_DIR} # source required ci scripts source "${CI_DIR}/stage.sh" diff --git a/tools/ci/verify_scala_suffixes.sh b/tools/ci/verify_scala_suffixes.sh index 756a7503bee..2af7619a51a 100755 --- a/tools/ci/verify_scala_suffixes.sh +++ b/tools/ci/verify_scala_suffixes.sh @@ -50,7 +50,7 @@ cd "$FLINK_ROOT" || exit dependency_plugin_output=${CI_DIR}/dep.txt -run_mvn dependency:tree -Dincludes=org.scala-lang,:*_2.1*:: ${MAVEN_ARGUMENTS} >> "${dependency_plugin_output}" +run_mvn dependency:tree -Dincludes=org.scala-lang,:*_2.1*:: ${MAVEN_ARGUMENTS} > "${dependency_plugin_output}" EXIT_CODE=$? if [ $EXIT_CODE != 0 ]; then
