gitrise.sh icon indicating copy to clipboard operation
gitrise.sh copied to clipboard

Build is always succeeds when --download-artifacts is used

Open n0vah opened this issue 8 months ago • 0 comments

If I apply --download-artifacts to gitrise command every build is "succeeded" even if build on Bitrise is failed. Without --download-artifacts everything works fine - Bitrise build failed -> Gitlab job is failed, Bitrise build succeeded -> Gitlab job is succeeded.

Example:

gitrise -a $BITRISE_ACCESS_TOKEN -s $BITRISE_PROJECT_SLUG -w AndroidCodeCheck -b $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME -e "ENVS":$ENVS --stream --download-artifacts merged-test-results.zip

image

Workaround: As workaround I just save build status on Bitrise to separate file, and use this build status from this file on Gitlab as exit code.

n0vah avatar Jun 19 '24 13:06 n0vah