Commit 445deb21 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #25043 from spxtr/node-name

Automatic merge from submit-queue Add NODE_NAME to started.json. Sometimes a single Jenkins node gets borked. Lets upload what node we're on before running tests. See [this list of env vars that Jenkins sets for us.](https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables) I think this info should be added to gubernator.
parents 11cd07ef 52f758e3
......@@ -85,7 +85,8 @@ function upload_version() {
gsutil -q -h "Content-Type:application/json" cp -a "${gcs_acl}" <(
echo "{"
echo " \"version\": \"${version}\","
echo " \"timestamp\": ${timestamp}"
echo " \"timestamp\": ${timestamp},"
echo " \"jenkins-node\": \"${NODE_NAME:-}\""
echo "}"
) "${json_file}" || continue
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment