diff options
author | Karthik Rajasekaran <karajas@microsoft.com> | 2017-09-08 02:32:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-08 02:32:02 +0300 |
commit | 2a234013d2bfa76f1bc1e52f75303fd0fe03b879 (patch) | |
tree | f88db32f519d57286ca549ebb08ac40c3c6d91c4 /netci.groovy | |
parent | 2b889c4a2d9877b7112d9a57061b92366d9c257a (diff) |
Retry arm leg on a new machine (#23860)
Diffstat (limited to 'netci.groovy')
-rw-r--r-- | netci.groovy | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy index 7ddb0cfec9..456d013fd1 100644 --- a/netci.groovy +++ b/netci.groovy @@ -317,6 +317,14 @@ def targetGroupOsMapInnerloop = ['netcoreapp': ['Windows_NT', 'Ubuntu14.04', 'Ub // Add archival for the built binaries def archiveContents = "bin/build.tar.gz" Utilities.addArchival(newJob, archiveContents) + + newJob.with { + publishers { + azureVMAgentPostBuildAction { + agentPostBuildAction('Delete agent after build execution (when idle).') + } + } + } // Set up triggers if (isPR) { |