-
Bug
-
Resolution: Unresolved
-
Major
-
OS: CentOS Linux release 7.6.1810 (Core)
java version: "1.8.0_191"
Jenkins version: 2.288
This issue is reported on https://github.com/microsoft/azure-pipelines-tasks/issues/14320
Workaround is to stick to Jenkins version 2.163.1.
Issue seems to be with Jenkins server compression, artifacts folder that gets downloaded from Jenkins has all the files but the type of the file is missing in its metadata which is resulting in this failure.
Example file detail from debugging:
FileDetails { _offset: 418, _maxSize: 22, parent: 'archive', filename: 'test.txt', path: 'archive\\test.txt', type: undefined, mode: 420, compressionMethod: 8, modified: 2021-04-26T07:19:56.000Z, crc32: 3092708862, compressedSize: 22, uncompressedSize: 20, comment: '', flags: { encrypted: false, compressionFlag1: false, compressionFlag2: false, useDataDescriptor: true, enhancedDeflating: false, compressedPatched: false, strongEncryption: false, utf8: true, encryptedCD: false } }