From a959e64d0d214e8ef4caaee779af9e6a6c2dc562 Mon Sep 17 00:00:00 2001
From: Jan Tattermusch <jtattermusch@google.com>
Date: Wed, 3 Jun 2015 16:32:13 -0700
Subject: [PATCH] fix jenkins build on windows

---
 tools/jenkins/run_jenkins.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/jenkins/run_jenkins.sh b/tools/jenkins/run_jenkins.sh
index 417cf92565..8afaa91ea7 100755
--- a/tools/jenkins/run_jenkins.sh
+++ b/tools/jenkins/run_jenkins.sh
@@ -50,6 +50,9 @@ elif [ "$platform" == "windows" ]
 then
   echo "building $language on Windows"
 
+  # Prevent msbuild from picking up "platform" env variable, which would break the build
+  unset platform
+
   # TODO(jtattermusch): integrate nuget restore in a nicer way.
   /cygdrive/c/nuget/nuget.exe restore vsprojects/grpc.sln
   /cygdrive/c/nuget/nuget.exe restore src/csharp/Grpc.sln
-- 
GitLab