diff options
author | Karthik Rajasekaran <karajas@microsoft.com> | 2017-09-07 15:39:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-07 15:39:06 -0700 |
commit | e390d7202605f3e5c9eb123f37c67ec5685c3fee (patch) | |
tree | dc4332b10345169a0244bf0467767e250cd55433 /netci.groovy | |
parent | 957c61acbfebc665135797ed503940241adfdb6d (diff) | |
download | coreclr-e390d7202605f3e5c9eb123f37c67ec5685c3fee.tar.gz coreclr-e390d7202605f3e5c9eb123f37c67ec5685c3fee.tar.bz2 coreclr-e390d7202605f3e5c9eb123f37c67ec5685c3fee.zip |
Retry linux arm legs on a new agent (#13839)
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy index 056b4ab881..c628b0d43f 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1090,6 +1090,13 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, case 'Ubuntu': case 'Ubuntu16.04': assert scenario == 'default' + job.with { + publishers { + azureVMAgentPostBuildAction { + agentPostBuildAction('Delete agent after build execution (when idle).') + } + } + } if ((os == 'Ubuntu' && configuration == 'Release') || (os == 'Ubuntu16.04' && configuration == 'Debug')) { Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} Cross ${configuration} Build") } @@ -1099,6 +1106,13 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, break; case 'Tizen': architecture='armel' + job.with { + publishers { + azureVMAgentPostBuildAction { + agentPostBuildAction('Delete agent after build execution (when idle).') + } + } + } // Removing the regex will cause this to run on each PR. if (configuration == 'Release' || configuration == 'Debug') { Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} Cross ${configuration} Build") |