Jenkins After 2.263.1: Using Azure DevOps Pipeline task 'Download Jenkins artifacts' fails with ExtractionFailed Error: Unsupported file type "undefined"

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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 } }
      

            Assignee:
            Unassigned
            Reporter:
            Dexter
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: