androidcirclecigoogle-fabricfabric-beta

How can I auto deploy Fabric Crashlytics Beta with Circle CI in Android


I want to auto deploy to Beta Fabric With Circle CI in Android

I add command in config.yml but it not work

deployDevelop:
    <<: *defaults
    steps:
      - attach_workspace:
          at: ~/code
      - run:
          name: Deploy develop to fabric beta
          command:  |
            ./gradlew assembleDebug crashlyticsUploadDistributionDebug

Error at console CI :

#!/bin/bash -eo pipefail
./gradlew :app:assembleDebug crashlyticsUploadDistributionDebug
fatal: Not a git repository (or any of the parent directories): .git
Exited with code 128

Solution

  • This is Zubair from Fabric/Firebase. Circle CI does not support building when PR is opened as mentioned here. But building application take almost 10 minutes. If you open a pull request immediately after push commits to git, Circle CI detects the PR and it’ll give the url with ${CIRCLE_PULL_REQUEST} environment.

    You might find this medium post help full.