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

Editor thinks archiveArtifacts has 'DefaultExcludes' disabled by default

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: