summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2018-04-17 00:35:31 (GMT)
committerGitHub <noreply@github.com>2018-04-17 00:35:31 (GMT)
commit8e7aa00273cec8ddcf73a675f82c80a82e4c7ed8 (patch)
treebfc999abe2ccb08abe88e2724719f056d781b8cf /netci.groovy
parenta223ac292f7fa748aa0b51e3a2bfcf537c90e5e1 (diff)
parent4894c464bb522d3e0fd03f325817c79e6a8cc2cb (diff)
downloadcoreclr-8e7aa00273cec8ddcf73a675f82c80a82e4c7ed8.zip
coreclr-8e7aa00273cec8ddcf73a675f82c80a82e4c7ed8.tar.gz
coreclr-8e7aa00273cec8ddcf73a675f82c80a82e4c7ed8.tar.bz2
Merge pull request #17599 from BruceForstall/CleanupUbunuArmBuildMachine_2.1
Cleanup ubuntu arm build machine 2.1
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy11
1 files changed, 11 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy
index 424ecbe..cb6ab4e 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -2419,6 +2419,17 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
buildCommands += "zip -r testnativebin.${lowerConfiguration}.zip ./bin/obj/Linux.arm.${configuration}/tests"
Utilities.addArchival(newJob, "coreroot.${lowerConfiguration}.zip,testnativebin.${lowerConfiguration}.zip", "")
+
+ // We need to clean up the build machines; the docker build leaves newly built files with root permission, which
+ // the cleanup task in Jenkins can't remove.
+ newJob.with {
+ publishers {
+ azureVMAgentPostBuildAction {
+ agentPostBuildAction('Delete agent after build execution (when idle).')
+ }
+ }
+ }
+
break
default:
println("Unknown architecture: ${architecture}");