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

archiveArtifacts should ignore @tmp directories

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When using the command "archiveArtifacts", my job failed because it tried to grab an internally-used Jenkins durability directory:

      archiveArtifacts allowEmptyArchive: false, artifacts: 'workspaces/**', defaultExcludes: false
      

      Result:

      java.nio.file.NoSuchFileException: /<Workspaces>/<JobWorkspace>/workspaces/platforms@tmp/durable-3b0d9a40/jenkins-result.txt
      

      I have not tried it yet, but I am hoping that ", excludes: '**/*@tmp/'" added to the end will solve the problem.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aarondmarasco_vsi Aaron D. Marasco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: