mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
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.
This commit is contained in:
commit
445deb21e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user