简体   繁体   English

如何在Android中使用Circle CI自动部署Fabric Crashlytics 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 我想在Android中使用Circle CI自动部署到Beta Fabric

I add command in config.yml but it not work 我在config.yml添加命令,但它不起作用

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

Error at console CI : 控制台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. 这是来自Fabric / Firebase的Zubair。 Circle CI does not support building when PR is opened as mentioned here. 如此处所述打开PR时,Circle CI不支持构建。 But building application take almost 10 minutes. 但是构建应用程序将花费近10分钟。 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. 如果您在git提交到git后立即打开了一个pull请求,Circle CI会检测到PR,它将为URL提供$ {CIRCLE_PULL_REQUEST}环境。

You might find this medium post help full. 您可能会发现此中级帮助已满。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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