Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-21954

Proper error message should be displayed in "build teardown" when pipeline fails with error "Error occurred whilst building an artifact"

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Currently, there is no error message displayed in "build teardown" when the pipeline fails with the error "Error occurred whilst building an artifact".

      One can only notice that the artifact builds is in progress under "build teardown", but the pipeline fails with the error "Error occurred whilst building an artifact".

      under build teardown:

      Compressed files matching artifact pattern xxx/** to 145.9 KiB in 0 seconds Uploading artifact of 145.9 KiB

      Pipeline status:

      Error
      Error occurred whilst building an artifact
      

      There are cases where the files xxx/** are still getting updated by some background process, hence the artifact build will fail. The tar file calculates the size of all the files before starting the tar and in this case, the size is not being updated after the size was calculated by the tar.

      error:

      stack_trace: java.io.IOException: request to write '3770' bytes exceeds size in header of '123123' bytes for entry './xxx/**'
      

      We should display a user-friendly error message in the Build Teardown when such occurs.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f2cc5e9850cf Suhas Sundararaju
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: