summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2018-03-25 14:44:24 -0700
committerBruce Forstall <brucefo@microsoft.com>2018-03-26 12:47:25 -0700
commitbc559a0dc36a1f152aa0e576ad80165585c148f1 (patch)
tree39ee8b9fbacfa4a8867a00b45e27526765b64e05 /build.cmd
parent5952ead7831bf0a3c29424e927c58bfbb7d1380f (diff)
downloadcoreclr-bc559a0dc36a1f152aa0e576ad80165585c148f1.tar.gz
coreclr-bc559a0dc36a1f152aa0e576ad80165585c148f1.tar.bz2
coreclr-bc559a0dc36a1f152aa0e576ad80165585c148f1.zip
Work around Jenkins problem with large env vars
Clear out `ghprbCommentBody` before msbuild is invoked, which can't deal with large environment variables.
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.cmd b/build.cmd
index a9062f6083..54962ee64e 100644
--- a/build.cmd
+++ b/build.cmd
@@ -22,6 +22,11 @@ if defined VS150COMNTOOLS (
set __VSVersion=vs2015
)
+:: Work around Jenkins CI + msbuild problem: Jenkins sometimes creates very large environment
+:: variables, and msbuild can't handle environment blocks with such large variables. So clear
+:: out the variables that might be too large.
+set ghprbCommentBody=
+
:: Note that the msbuild project files (specifically, dir.proj) will use the following variables, if set:
:: __BuildArch -- default: x64
:: __BuildType -- default: Debug