-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.121.1
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.
[JENKINS-53438] archiveArtifacts should ignore @tmp directories
Description |
Original:
When using the command "{{archiveArtifacts}}", my job failed because it tried to grab an internally-used Jenkins durability directory: {code} archiveArtifacts allowEmptyArchive: false, artifacts: 'workspaces/**', defaultExcludes: false {code} Result: {code} java.nio.file.NoSuchFileException: /<Workspaces>/<JobWorkspace>/workspaces/platforms@tmp/durable-3b0d9a40/jenkins-result.txt {code} I have not tried it yet, but I am hoping that {{, excludes: '**/*@tmp/'}} added to the end will solve the problem. |
New:
When using the command "{{archiveArtifacts}}", my job failed because it tried to grab an internally-used Jenkins durability directory: {code} archiveArtifacts allowEmptyArchive: false, artifacts: 'workspaces/**', defaultExcludes: false {code} Result: {code} java.nio.file.NoSuchFileException: /<Workspaces>/<JobWorkspace>/workspaces/platforms@tmp/durable-3b0d9a40/jenkins-result.txt {code} I have not tried it yet, but I am hoping that "{{, excludes: '**/*@tmp/'}}" added to the end will solve the problem. |
Description |
Original:
When using the command "{{archiveArtifacts}}", my job failed because it tried to grab an internally-used Jenkins durability directory: {code} archiveArtifacts allowEmptyArchive: false, artifacts: 'workspaces/**', defaultExcludes: false {code} Result: {code} java.nio.file.NoSuchFileException: /<Workspaces>/<JobWorkspace>/workspaces/platforms@tmp/durable-3b0d9a40/jenkins-result.txt {code} I have not tried it yet, but I am hoping that "{{, excludes: '**/*@tmp/'}}" added to the end will solve the problem. |
New:
When using the command "{{archiveArtifacts}}", my job failed because it tried to grab an internally-used Jenkins durability directory: {code:java} archiveArtifacts allowEmptyArchive: false, artifacts: 'workspaces/**', defaultExcludes: false {code} Result: {code:java} java.nio.file.NoSuchFileException: /<Workspaces>/<JobWorkspace>/workspaces/platforms@tmp/durable-3b0d9a40/jenkins-result.txt {code} I have not tried it yet, but I am hoping that "{{, excludes: '\*\*/\*@tmp/'}}" added to the end will solve the problem. |