diff options
author | Dan Moseley <danmose@microsoft.com> | 2017-02-07 06:00:55 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-02-07 06:00:55 -0800 |
commit | 505d2266d4d10229105408c6f803acb5a017b0fa (patch) | |
tree | f961ba83c01bef57359885baaaa29eeeffdd977c /build.cmd | |
parent | 2945233dec39a07652455ffb075b0a4a5f303fa6 (diff) | |
download | coreclr-505d2266d4d10229105408c6f803acb5a017b0fa.tar.gz coreclr-505d2266d4d10229105408c6f803acb5a017b0fa.tar.bz2 coreclr-505d2266d4d10229105408c6f803acb5a017b0fa.zip |
Remove bclrewriter (#9351)
* Remove bclrewriter
* Dump crossgen error to Jenkins log
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -388,13 +388,15 @@ if %__BuildNativeCoreLib% EQU 1 ( "%__CrossgenExe%" /Platform_Assemblies_Paths "%__BinDir%" /out "%__BinDir%\System.Private.CoreLib.ni.dll" "%__BinDir%\System.Private.CoreLib.dll" > "%__CrossGenCoreLibLog%" 2>&1 if NOT !errorlevel! == 0 ( echo %__MsgPrefix%Error: CrossGen System.Private.CoreLib build failed. Refer to %__CrossGenCoreLibLog% - echo %__CrossGenCoreLibLog% + :: Put it in the same log, helpful for Jenkins + type %__CrossGenCoreLibLog% exit /b 1 ) "%__CrossgenExe%" /Platform_Assemblies_Paths "%__BinDir%" /CreatePdb "%__BinDir%\PDB" "%__BinDir%\System.Private.CoreLib.ni.dll" >> "%__CrossGenCoreLibLog%" 2>&1 if NOT !errorlevel! == 0 ( echo %__MsgPrefix%Error: CrossGen /CreatePdb System.Private.CoreLib build failed. Refer to %__CrossGenCoreLibLog% - echo %__CrossGenCoreLibLog% + :: Put it in the same log, helpful for Jenkins + type %__CrossGenCoreLibLog% exit /b 1 ) @@ -417,8 +419,9 @@ if %__BuildNativeCoreLib% EQU 1 ( ) if NOT !err! == 0 ( - echo %__MsgPrefix%Error: CrossGen mscorlib facade build failed. Refer to the build log file for details: - echo !__CrossGenCoreLibLog! + echo %__MsgPrefix%Error: CrossGen mscorlib facade build failed. Refer to !__CrossGenCoreLibLog! + :: Put it in the same log, helpful for Jenkins + type %__CrossGenCoreLibLog% exit /b 1 ) ) |