Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Redeploy from failed step - Fails after file copy, but still goes through copy step

Is there a way to prevent having to recopy a file that was already copied in a previous failed push? 

When a package fails during the install process, and I redeploy to the target from failed step, it still repeats the copy step. I'm assuming because the file is temporary? Is there a way to prevent this? It would save a lot of time for me.

0

Comments

1 comment
Date Votes
  • Files copied during Install steps are indeed temporary. If you have a step that fails often, you could split it out into 2 or 3 steps:

    1. File Copy
    2. Command / PowerShell to perform the installation
    3. Command / PowerShell to delete the files if the installation succeeds
    0