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

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Pierre B
            Votes:
            8 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: