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

Pipelines randomly fail with: "Error occurred whilst uploading artifact". (BP-1174)

      Bitbucket pipeline is often failing because of a "System error" saying "Error occurred whilst uploading artifact":

      Here is the bitbucket-pipeline section of the step where the System error occurred:

      - step:
            name: Generate APIBlueprint documentation
            image:
              name: <custom docker image hosted on aws ecr>
              aws:
                access-key: $AWS_ACCESS_KEY_ID
                secret-key: $AWS_SECRET_ACCESS_KEY
            script:
              - <generate documentation.apib file>
              - cp documentation.apib dist/documentation.apib
            artifacts:
              - dist/documentation.apib
      

      Re-running the pipeline usually solves the problem, letting me think it's not an issue in our bitbucket-pipeline.yml file.

            [BCLOUD-15062] Pipelines randomly fail with: "Error occurred whilst uploading artifact". (BP-1174)

              Unassigned Unassigned
              f76863a3db9e Pierre B
              Affected customers:
              8 This affects my team
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: