summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-11-30 12:12:18 -0800
committerBruce Forstall <brucefo@microsoft.com>2017-11-30 12:12:18 -0800
commit328b4904ca066fa20c13c23caa1e49e0fc2b7497 (patch)
tree63dfbd9e208747d2f40524b9adaac420d3b79901 /netci.groovy
parent945de2f5b46b940cbfeaf87c1b23fc0f9b1c0b63 (diff)
downloadcoreclr-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-xnetci.groovy10
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%")