-
Bug
-
Resolution: Duplicate
-
Major
-
None
If archiving fails, i.e., the console log ends as follows (as for example seen in the description of JENKINS-7038):
[snip Ant-based build...] BUILD SUCCESSFUL Total time: 4 seconds [snip...] Archiving artifacts ERROR: Failed to archive artifacts: [snip stack trace related to some connection failure in publish-over-CIFS code...] Finished: SUCCESS
then Jenkins (1.409.1 which we used back then) decides this a successful build. However, since only part of the artifacts have been archived, and since (in my particular case) another jobs uses the artifacts of this job, this build is not usable.
Therefore any build for which archiving fails should be marked 'unstable', and perhaps even 'failure'.
- duplicates
-
JENKINS-2058 success even when archive artifact java error
-
- Resolved
-
[JENKINS-12759] Archiving failure should make build fail (or unstable)
Description |
Original:
If archiving fails, i.e., the console log ends as follows (as for example seen in the description of {noformat} [snip Ant-based build...] BUILD SUCCESSFUL Total time: 4 seconds [snip...] Archiving artifacts ERROR: Failed to archive artifacts: [snip stack trace related to some connection failure in publish-over-CIFS code...] Finished: SUCCESS {noformat} then apparently Jenkins (1.424.2) decides this a successful build. However, since only part of the artifacts have been archived, and since (in my particular case) another jobs uses the artifacts of this job, this build is not usable. Therefore any build for which archiving fails should be marked 'unstable', and perhaps even 'failure'. |
New:
If archiving fails, i.e., the console log ends as follows (as for example seen in the description of {noformat} [snip Ant-based build...] BUILD SUCCESSFUL Total time: 4 seconds [snip...] Archiving artifacts ERROR: Failed to archive artifacts: [snip stack trace related to some connection failure in publish-over-CIFS code...] Finished: SUCCESS {noformat} then Jenkins (1.409.1 which we used back then) decides this a successful build. However, since only part of the artifacts have been archived, and since (in my particular case) another jobs uses the artifacts of this job, this build is not usable. Therefore any build for which archiving fails should be marked 'unstable', and perhaps even 'failure'. |
Link |
New:
This issue is related to |
Link |
Original:
This issue is related to |
Attachment | New: jenkins-1.409.1-archive-artifact-error.txt [ 24143 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link |
New:
This issue duplicates |
Workflow | Original: JNJira [ 143216 ] | New: JNJira + In-Review [ 190445 ] |