summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-11-22 08:58:36 -0800
committerGitHub <noreply@github.com>2017-11-22 08:58:36 -0800
commitcdf5900daf687464f8eb89e25dce28697673020f (patch)
tree2437601f3776f7ac4ac920f261ce240b0b820dc5 /netci.groovy
parent5b1895dd0600b6536410b373d26baa604b88de90 (diff)
parent2d28395b45ceddbfe9463274dcbeebc05403354a (diff)
downloadcoreclr-cdf5900daf687464f8eb89e25dce28697673020f.tar.gz
coreclr-cdf5900daf687464f8eb89e25dce28697673020f.tar.bz2
coreclr-cdf5900daf687464f8eb89e25dce28697673020f.zip
Merge pull request #15149 from BruceForstall/ArchiveMoreArm32
Archive smarty directory for arm/armlb/arm64 runs
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy9
1 files changed, 9 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy
index 9974a9e88c..997e9ff607 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -2512,6 +2512,10 @@ Constants.allScenarios.each { scenario ->
addCommand("pushd bin\\tests\\${osGroup}.${architecture}.${configuration}")
addCommand("${smartyCommand}")
+ // ZIP up the smarty output. Note that the current directory was changed above by "pushd", so we are
+ // in the correct directory where the "Smarty.run.0" directory is.
+ buildCommands += "powershell -Command \"Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('.\\Smarty.run.0', '.\\Smarty.run.0.zip')\"";
+
batchFile(buildCommands)
}
}
@@ -2558,6 +2562,11 @@ Constants.allScenarios.each { scenario ->
}
else {
Utilities.addArchival(newJob, "bin/tests/${osGroup}.${architecture}.${configuration}/Smarty.run.0/*.smrt", '', true, false)
+
+ // Archive a ZIP file of the entire Smarty.run.0 directory. This is possibly a little too much,
+ // but there is no easy way to only archive the HTML/TXT files of the failing tests, so we get
+ // all the passing test info as well. Not necessarily a bad thing, but possibly somewhat large.
+ Utilities.addArchival(newJob, "bin/tests/${osGroup}.${architecture}.${configuration}/Smarty.run.0.zip", '', true, false)
}
// Create a build flow to join together the build and tests required to run this test.