archiveArtifacts should ignore @tmp directories

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Aaron D. Marasco
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: