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

Editor thinks archiveArtifacts has 'DefaultExcludes' disabled by default

      When creating an archiveArtifacts step in the BO editor, it has 'DefaultExcludes' (nice user-friendly label) disabled.

      This will result in this step:

       

      archiveArtifacts '**'
      

      When checking the box, the step will be:

       

       

      archiveArtifacts(artifacts: '**', defaultExcludes: true)
      

      AFAICT (JENKINS-20086 makes this difficult) both do the same thing. defaultExcludes is enabled by default, and needs to be explicitly set to false.

      Notably, the snippet generator gets this right.

          [JENKINS-49194] Editor thinks archiveArtifacts has 'DefaultExcludes' disabled by default

          There are no comments yet on this issue.

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: