'Jenkins Zip file missing .gitignore and .gitattributes
I'm attempting to use the archive functionality but I'm not able to download all the files. For example, in Jenkins I see:

However, after clicking the link to download all the files as a zip, then unzipping the files, I see:

I'm not sure why the .gitignore and .gitattributes are missing from the zip file when I download it but are present in the artifacts listed in Jenkins.
I use the following command to archive the artifacts:
archiveArtifacts artifacts: "portfolios-deployment_${PACKAGE_VERSION}/**/*", onlyIfSuccessful: true, defaultExcludes: false
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
