Closed Dualton closed 1 year ago
Good idea, we haven't seen that issue before because we have our jenkins project perform a clean before checkout but I see no reason not use the Move-Item instead for added robustness.
Ah, i was wondering. Clean before checkout is not mentioned in the powerpoint so I thought it was left out for a reason. Of course clean before checkout is more clean anyways.
Move-Item -Force instead of Rename-Item allows for rename even if destination file already exists. this is needed because no complete workspace cleanup is performed in this jenkinsfile