From: Bruce Forstall Date: Fri, 2 Nov 2018 20:39:53 +0000 (-0700) Subject: Need to archive and transfer the Product directory for Linux arm/arm64 PMI diffs X-Git-Tag: submit/tizen/20210909.063632~11030^2~3520^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a821ab345dca1e65dbd64b96e8b9dc8d3c80f29c;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Need to archive and transfer the Product directory for Linux arm/arm64 PMI diffs Commit migrated from https://github.com/dotnet/coreclr/commit/1718cc313594e25bb367150226b1afb0ce08f5d9 --- diff --git a/src/coreclr/netci.groovy b/src/coreclr/netci.groovy index 023098e..1335959 100755 --- a/src/coreclr/netci.groovy +++ b/src/coreclr/netci.groovy @@ -2583,11 +2583,13 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR buildCommands += "python -u \${WORKSPACE}/tests/scripts/run-pmi-diffs.py -arch ${architecture} -ci_arch ${architecture} -build_type ${configuration} --skip_diffs" // ZIP what we created. + buildCommands += "zip -r product.${os}.${architecture}.${lowerConfiguration}.zip ./bin/Product/Linux.${architecture}.${configuration}" + buildCommands += "zip -r product.baseline.${os}.${architecture}.${lowerConfiguration}.zip ./_/pmi/base/bin/Product/Linux.${architecture}.${configuration}" buildCommands += "zip -r coreroot.${os}.${architecture}.${lowerConfiguration}.zip ./bin/tests/Linux.${architecture}.${configuration}/Tests/Core_Root" buildCommands += "zip -r coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip ./_/pmi/base/bin/tests/Linux.${architecture}.${configuration}/Tests/Core_Root" // Archive the built artifacts - Utilities.addArchival(newJob, "coreroot.${os}.${architecture}.${lowerConfiguration}.zip,coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip") + Utilities.addArchival(newJob, "product.${os}.${architecture}.${lowerConfiguration}.zip,product.baseline.${os}.${architecture}.${lowerConfiguration}.zip,coreroot.${os}.${architecture}.${lowerConfiguration}.zip,coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip") } else { // Then, using the same docker image, build the tests and generate the CORE_ROOT layout. @@ -3358,6 +3360,8 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi if (isPmiAsmDiffsScenario) { def workspaceRelativeRootLinux = "_/pmi" shell("mkdir -p ${workspaceRelativeRootLinux}") + shell("wget --progress=dot:giga ${inputUrlRoot}/product.${os}.${architecture}.${lowerConfiguration}.zip") + shell("wget --progress=dot:giga ${inputUrlRoot}/product.baseline.${os}.${architecture}.${lowerConfiguration}.zip") shell("wget --progress=dot:giga ${inputUrlRoot}/coreroot.${os}.${architecture}.${lowerConfiguration}.zip") shell("wget --progress=dot:giga ${inputUrlRoot}/coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip") } @@ -3392,6 +3396,8 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi if (isPmiAsmDiffsScenario) { // TODO: add back "-q" when we know it works + shell("unzip -o ./product.${os}.${architecture}.${lowerConfiguration}.zip || exit 0") + shell("unzip -o ./product.baseline.${os}.${architecture}.${lowerConfiguration}.zip || exit 0") shell("unzip -o ./coreroot.${os}.${architecture}.${lowerConfiguration}.zip || exit 0") shell("unzip -o ./coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip || exit 0") }