diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2017-11-30 12:12:18 -0800 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2017-11-30 12:12:18 -0800 |
commit | 328b4904ca066fa20c13c23caa1e49e0fc2b7497 (patch) | |
tree | 63dfbd9e208747d2f40524b9adaac420d3b79901 /netci.groovy | |
parent | 945de2f5b46b940cbfeaf87c1b23fc0f9b1c0b63 (diff) | |
download | coreclr-328b4904ca066fa20c13c23caa1e49e0fc2b7497.tar.gz coreclr-328b4904ca066fa20c13c23caa1e49e0fc2b7497.tar.bz2 coreclr-328b4904ca066fa20c13c23caa1e49e0fc2b7497.zip |
Add temporary logging to track down failure to ZIP smarty output
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy index 87b4512740..1acb5d2e80 100755 --- a/netci.groovy +++ b/netci.groovy @@ -2617,9 +2617,19 @@ Constants.allScenarios.each { scenario -> addCommand("set __save_smarty_errorlevel=%errorlevel%") addCommand("popd") + // BEGIN Temporarily add some logging to see why the ZIP command isn't working reliably. + addCommand("dir .\\bin\\tests\\${osGroup}.${architecture}.${configuration}") + addCommand("dir .\\bin\\tests\\${osGroup}.${architecture}.${configuration}\\Smarty.run.0") + // END temporary logging + // ZIP up the smarty output, no matter what the smarty result. addCommand("powershell -NoProfile -Command \"Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('.\\bin\\tests\\${osGroup}.${architecture}.${configuration}\\Smarty.run.0', '.\\bin\\tests\\${osGroup}.${architecture}.${configuration}\\Smarty.run.0.zip')\"") + // BEGIN Temporary logging + addCommand("echo %errorlevel%") + addCommand("dir .\\bin\\tests\\${osGroup}.${architecture}.${configuration}") + // END temporary logging + // Use the smarty errorlevel as the script errorlevel. addCommand("exit /b %__save_smarty_errorlevel%") |