codecov/codecov-bash

Bitrise PR commit SHAs not correctly detected.

Closed this issue · 2 comments

Bitrise appears to use a 12-digit SHA for PR runs that the uploader can't use.

A workaround from a customer:

It turns out that Bitbucket reports commit ID in a shorter format for pull request events. That's what bash uploader uses as well. As a hack, I add below to the build script.

export CI_COMMIT_ID="$(git rev-parse HEAD)"

Work is moving to https://github.com/codecov/uploader, closing