mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #21102 from ixdy/echo-time
Auto commit by PR queue bot
This commit is contained in:
commit
3375fa6fb6
@ -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 "{"
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user