Merge pull request #21102 from ixdy/echo-time

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2016-02-13 08:33:52 -08:00
commit 3375fa6fb6
2 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,8 @@ readonly result="$1"
readonly timestamp=$(date +%s)
readonly location="gs://kubernetes-jenkins/logs/${JOB_NAME}/${BUILD_NUMBER}/finished.json"
echo -n 'Run finished at '; date -d "@${timestamp}"
echo "Uploading build result to: ${location}"
gsutil -q cp -a "public-read" <(
echo "{"

View File

@ -28,6 +28,8 @@ version=""
readonly timestamp=$(date +%s)
readonly location="gs://kubernetes-jenkins/logs/${JOB_NAME}/${BUILD_NUMBER}/started.json"
echo -n 'Run starting at '; date -d "@${timestamp}"
# Try to discover the kubernetes version.
if [[ -e "version" ]]; then
version=$(cat "version")