简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM