Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63587

Allow disabling Ant default excludes in the zip step

    XMLWordPrintable

Details

    Description

      The zip step excludes all files listed in the Ant default excludes list. It would be great to include these files:

      zip zipFile: 'file.zip', defaultExcludes: false
      

      The default value for the defaultExcludes parameter should be true (backward compatibility).

      The change requires to disable default excludes on fs in the ZipStepExecution class after this line.

      Attachments

        Activity

          Ant is allowing this task as per https://ant.apache.org/manual/dirtasks.html#patterns but when include the same in zip zipFile, it fails. can this request be prioritised? 

          // If you do not want these default excludes applied, you may disable them with the defaultexcludes=no attribute. 
          khandelwaly Yogesh Khandelwal added a comment - Ant is allowing this task as per https://ant.apache.org/manual/dirtasks.html#patterns but when include the same in zip zipFile, it fails. can this request be prioritised?  // If you do not want these default excludes applied, you may disable them with the defaultexcludes=no attribute.

          People

            rsandell rsandell
            agabrys Adam Gabryś
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: