Oliver Gondža edited a comment on Bug JENKINS-24824

I expect the deletion can fail for some reason even after we successfully renamed the directory. I see several ways to improve current situation:

  • Retry the deletion until it succeeds - it should not block the build but can as well run for unpredictable amount of time
  • Introduce a periodic task to clean up such dangling directories
  • Pass Future from FilePath.actAsync to some "collector" task that would retry and/or report in case some deletion fails.*

[*] I guess this might be the only way to find out why it failed on the first place as it seems that FilePath.actAsync does not log exceptions.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to