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

Better warning message in Artifactpublisher when artifacts have been deleted too early (deleteDir(), rm...)

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pipeline-maven-plugin
    • None
    • jenkins 2.97, pipeline-maven-3.2.0-alpha-2

      artifactsPublisher do not catch the created artifact if the pipeline ends with deleteDir().
      deleteDir() is normally used to keep a low disk usage on BS.
      Possibly, cleanWs will also affect the archival behaviour.

      Issue created as suggested on JENKINS-48541

      [relwithdebinfo] [withMaven] artifactsPublisher - FAILURE to archive pom.xml under ... file not found in workspace /var/lib/jenkins/workspace/...
      [relwithdebinfo] [withMaven] FAILURE to fingerprint ... , file not found
      

          [JENKINS-48860] Better warning message in Artifactpublisher when artifacts have been deleted too early (deleteDir(), rm...)

          Nuno Costa created issue -
          Cyrille Le Clerc made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Cyrille Le Clerc made changes -
          Summary Original: Artifactpublisher do not catch the created artifact when using deleteDir() New: Better warning message in Artifactpublisher when artifacts have been deleted too early (deleteDir(), rm...)
          Cyrille Le Clerc made changes -
          Description Original: artifactsPublisher do not catch the created artifact if the pipeline ends with deleteDir().
           deleteDir() is normally used to keep a low disk usage on BS.
           Possibly, cleanWs will also affect the archival behaviour.

          Issue created as suggested on [JENKINS-48541|#comment-324130)].
          New: artifactsPublisher do not catch the created artifact if the pipeline ends with deleteDir().
           deleteDir() is normally used to keep a low disk usage on BS.
           Possibly, cleanWs will also affect the archival behaviour.

          Issue created as suggested on JENKINS-48541

          {noformat}
          [relwithdebinfo] [withMaven] artifactsPublisher - FAILURE to archive pom.xml under ... file not found in workspace /var/lib/jenkins/workspace/...
          [relwithdebinfo] [withMaven] FAILURE to fingerprint ... , file not found
          {noformat}
          Cyrille Le Clerc made changes -
          Link New: This issue is related to JENKINS-48541 [ JENKINS-48541 ]
          Arnaud Héritier made changes -
          Assignee Original: Alvaro Lobato [ alobato ]

            Unassigned Unassigned
            ncosta Nuno Costa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: