added gcloud auth
This commit is contained in:
parent
58f4de74f4
commit
3a170a2af6
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
$SWARM_PLUGIN_JAR="C:\jenkins\swarm-client.jar"
|
||||||
mkdir c:\jenkins
|
mkdir c:\jenkins
|
||||||
Invoke-WebRequest -Uri $SWARM_PLUGIN_URL -OutFile $SWARM_PLUGIN_JAR
|
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
|
Loading…
Reference in a new issue