<span>I followed this<br></span>
image: maven:3.3.3 pipelines: default: - step: script: - pipe: atlassian/bitbucket-upload-file:0.1.2 variables: BITBUCKET_USERNAME: $BITBUCKET_USERNAME BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD FILENAME: "app/build/outputs/apk/debug/application-debug.apk"
<span><br><a href="https://support.atlassian.com/bitbucket-cloud/docs/deploy-build-artifacts-to-bitbucket-downloads/" target="_blank" rel="nofollow noopener noreferrer">https://support.atlassian.com/bitbucket-cloud/docs/deploy-build-artifacts-to-bitbucket-downloads/</a><br><br>needed to add the variables to my repository.<br><br></span>