Spinup for this agent is unreliable (docker fails to start a lot). Only delete when the build fails.
job.with {
publishers {
azureVMAgentPostBuildAction {
- agentPostBuildAction('Delete agent after build execution (when idle).')
+ agentPostBuildAction('Delete agent if the build was not successful (when idle).')
}
}
}
job.with {
publishers {
azureVMAgentPostBuildAction {
- agentPostBuildAction('Delete agent after build execution (when idle).')
+ agentPostBuildAction('Delete agent if the build was not successful (when idle).')
}
}
}