diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2018-04-16 17:35:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 17:35:31 -0700 |
commit | 8e7aa00273cec8ddcf73a675f82c80a82e4c7ed8 (patch) | |
tree | bfc999abe2ccb08abe88e2724719f056d781b8cf /netci.groovy | |
parent | a223ac292f7fa748aa0b51e3a2bfcf537c90e5e1 (diff) | |
parent | 4894c464bb522d3e0fd03f325817c79e6a8cc2cb (diff) | |
download | coreclr-8e7aa00273cec8ddcf73a675f82c80a82e4c7ed8.tar.gz coreclr-8e7aa00273cec8ddcf73a675f82c80a82e4c7ed8.tar.bz2 coreclr-8e7aa00273cec8ddcf73a675f82c80a82e4c7ed8.zip |
Merge pull request #17599 from BruceForstall/CleanupUbunuArmBuildMachine_2.1
Cleanup ubuntu arm build machine 2.1
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy index 424ecbed98..cb6ab4e7db 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}"); |