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

Add an option to make archiving the artifacts non-fatal if they don't exist

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins 1.421
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nacht Pedro Rodriguez
                Reporter:
                tfields Thomas Fields
              • Votes:
                16 Vote for this issue
                Watchers:
                22 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: