diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2018-03-25 14:44:24 -0700 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2018-03-26 12:47:25 -0700 |
commit | bc559a0dc36a1f152aa0e576ad80165585c148f1 (patch) | |
tree | 39ee8b9fbacfa4a8867a00b45e27526765b64e05 /build.sh | |
parent | 5952ead7831bf0a3c29424e927c58bfbb7d1380f (diff) | |
download | coreclr-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.sh')
-rwxr-xr-x | build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ #!/usr/bin/env bash +# 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. +export ghprbCommentBody= + # resolve python-version to use if [ "$PYTHON" == "" ] ; then if ! PYTHON=$(command -v python2.7 || command -v python2 || command -v python) |