mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +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 timestamp=$(date +%s)
|
||||||
readonly location="gs://kubernetes-jenkins/logs/${JOB_NAME}/${BUILD_NUMBER}/finished.json"
|
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}"
|
echo "Uploading build result to: ${location}"
|
||||||
gsutil -q cp -a "public-read" <(
|
gsutil -q cp -a "public-read" <(
|
||||||
echo "{"
|
echo "{"
|
||||||
|
@ -28,6 +28,8 @@ version=""
|
|||||||
readonly timestamp=$(date +%s)
|
readonly timestamp=$(date +%s)
|
||||||
readonly location="gs://kubernetes-jenkins/logs/${JOB_NAME}/${BUILD_NUMBER}/started.json"
|
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.
|
# Try to discover the kubernetes version.
|
||||||
if [[ -e "version" ]]; then
|
if [[ -e "version" ]]; then
|
||||||
version=$(cat "version")
|
version=$(cat "version")
|
||||||
|
Loading…
Reference in New Issue
Block a user