You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2020/05/18 13:19:01 UTC
[flink] branch master updated: [FLINK-17543][Azure] Add timestamp
to log name to allow multiple uploads per module
This is an automated email from the ASF dual-hosted git repository.
rmetzger 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 caabaf8 [FLINK-17543][Azure] Add timestamp to log name to allow multiple uploads per module
caabaf8 is described below
commit caabaf82b5bed86f6a4f1ac931c073006c9d5c78
Author: Robert Metzger <rm...@apache.org>
AuthorDate: Mon May 18 09:51:18 2020 +0200
[FLINK-17543][Azure] Add timestamp to log name to allow multiple uploads per module
---
tools/travis_watchdog.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/travis_watchdog.sh b/tools/travis_watchdog.sh
index b27cbce..c9aa4b1 100755
--- a/tools/travis_watchdog.sh
+++ b/tools/travis_watchdog.sh
@@ -147,12 +147,13 @@ upload_artifacts_s3() {
# On Azure, publish ARTIFACTS_FILE as a build artifact
if [ ! -z "$TF_BUILD" ] ; then
+ TIMESTAMP=`date +%s` # append timestamp to name to allow multiple uploads for the same module
ARTIFACT_DIR="$(pwd)/artifact-dir"
mkdir $ARTIFACT_DIR
cp $ARTIFACTS_FILE $ARTIFACT_DIR/
echo "##vso[task.setvariable variable=ARTIFACT_DIR]$ARTIFACT_DIR"
- echo "##vso[task.setvariable variable=ARTIFACT_NAME]$(echo $MODULE | tr -dc '[:alnum:]\n\r')"
+ echo "##vso[task.setvariable variable=ARTIFACT_NAME]$(echo $MODULE | tr -dc '[:alnum:]\n\r')-$TIMESTAMP"
fi
# upload to https://transfer.sh