From 3a170a2af63b07ba3c0a05ecbdbc97abaf0aed86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Wed, 18 Dec 2019 12:07:23 +0000 Subject: [PATCH] added gcloud auth --- scripts/windows_agent_install.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/windows_agent_install.ps1 b/scripts/windows_agent_install.ps1 index dc0f848..46c3b40 100644 --- a/scripts/windows_agent_install.ps1 +++ b/scripts/windows_agent_install.ps1 @@ -46,3 +46,6 @@ $SWARM_PLUGIN_URL="https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/s $SWARM_PLUGIN_JAR="C:\jenkins\swarm-client.jar" mkdir c:\jenkins Invoke-WebRequest -Uri $SWARM_PLUGIN_URL -OutFile $SWARM_PLUGIN_JAR + +# TODO: put build-agent-results_key.json on the machine somehow +gcloud auth activate-service-account --key-file C:\jenkins\build-agent-results_key.json \ No newline at end of file