-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 1.421
If you tick the box to enable "Archive the artifacts", populate the "Files to archive", and your build fails to output those artifacts it will fail with something like this:
12:11:51 Archiving artifacts 12:11:51 ERROR: No artifacts found that match the file pattern "tfields/Live/Engine/Tools/Layout.*". Configuration error? 12:11:57 ERROR: 'tfields/Live/Engine/Tools/Layout.*' doesn't match anything: 'tfields' exists but not 'tfields/Live/Engine/Tools/Layout.*' 12:11:57 Build step 'Archive the artifacts' changed build result to FAILURE
Depending on what your build actually does, those artifacts might not always be created. I'd like to propose that you add an option to make the archiving of artifacts non fatal.
Thanks,
Tom.
- depends on
-
JENKINS-17637 ArtifactArchiver compatibility break
- Resolved
- is duplicated by
-
JENKINS-13920 Provide an option whether or not fail the build on artifact archiving not finding any artifacts
- Closed
- is related to
-
JENKINS-17236 Pluggable artifact transfer & storage
- Resolved