Open Bouke opened 1 year ago
I have the exact issue as well and was wondering why the overwirteExistingFiles
param was not applied. My current workaround is to extract the files into a different folder with multiple tasks.
Environment: Microsoft Hosted
, image: windows-latest
- task: ExtractFiles@1
displayName: 'Unzip build artifacts'
inputs:
archiveFilePatterns: '$(Pipeline.Workspace)/Build-Folder/**/*.zip'
destinationFolder: '$(Build.ArtifactStagingDirectory)'
cleanDestinationFolder: true
overwriteExistingFiles: false
Scanning the drive for archives:
1 file, 33205358 bytes (32 MiB)
Extracting archive: D:\a\1\Test_27647.zip
--
Path = D:\a\1\Test_27647.zip
Type = zip
Physical Size = 33205358
Would you like to replace the existing file:
Path: D:\a\1\a\BouncyCastle.Crypto.dll
Size: 2302976 bytes (2249 KiB)
Modified: 2020-02-27 22:41:58
with the file from archive:
Path: BouncyCastle.Crypto.dll
Size: 2609152 bytes (2548 KiB)
Modified: 2020-12-08 18:05:32
? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit?
Archives with Errors: 1
stderr:
Break signaled
error: undefined;
I have the same issue.
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
Hello, anyone?
Task name
AzureRmWebAppDeployment
Task version
4.217.2
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
ubuntu-latest + windows-latest
Task log
ubuntu-latest
windows-latest
Relevant log output
ubuntu-latest
windows-latest
Aditional info
Note that the task doesn't pass
-o
to overwrite existing files. The task just hangs. On both ubuntu and windows.