aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar adelez <adelez@google.com>2016-03-15 10:45:51 -0700
committerGravatar adelez <adelez@google.com>2016-03-15 10:45:51 -0700
commit85b460fb516e76843c3b091fb6fb4e801878d275 (patch)
tree6c11d7c0b184927fa36a3fe56c2c957c7a3a9a5d /tools
parente6bebe9662fdf98ae4f66882fb068f308fd11184 (diff)
parent071aff284f0ba700e1296688ed2b52dddfce051e (diff)
Merge pull request #5382 from dgquintas/jenkins_stuff
Accept instance name as argument
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gce/create_linux_worker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gce/create_linux_worker.sh b/tools/gce/create_linux_worker.sh
index 2a9e77ab17..399e3ec4e4 100755
--- a/tools/gce/create_linux_worker.sh
+++ b/tools/gce/create_linux_worker.sh
@@ -37,7 +37,7 @@ cd $(dirname $0)
CLOUD_PROJECT=grpc-testing
ZONE=us-central1-a
-INSTANCE_NAME=grpc-jenkins-worker1
+INSTANCE_NAME="${1:-grpc-jenkins-worker1}"
gcloud compute instances create $INSTANCE_NAME \
--project="$CLOUD_PROJECT" \