but if you want to download a file and check if it is right, then you can do this:
- task: ArchiveFiles@2
- task: PublishPipelineArtifact@1
above "/home/vsts/work/_temp/yoursexappsomefolder/" is the folder you want to check, you will see this in your log. especially when you pipeline failed, you will see some folder info, you can then guess which file is wrong, and you want to check it, then you just put the folder name here.
after you added above task after build it will have the zip file here: