Mobile GoCD部署到Crashlytics Android和IOS

Mobile GoCD部署到Crashlytics Android和IOS,mobile,crashlytics,twitter-fabric,continuous-delivery,go-cd,Mobile,Crashlytics,Twitter Fabric,Continuous Delivery,Go Cd,有人知道,如何将版本部署到(结构) 我使用脚本上传apk FastlaneFile-在Android项目目录中 platform :android do lane :crashlytics do | options | gradle(task: ("assembleRelease"+options[:build])) crashlytics( api_token: "xxxxxxxxx", build_secret: "xxxxxxxxx",

有人知道,如何将版本部署到(结构)

我使用脚本上传apk

FastlaneFile-在Android项目目录中

platform :android do 
  lane :crashlytics do | options |
    gradle(task: ("assembleRelease"+options[:build]))
    crashlytics(
      api_token: "xxxxxxxxx",
      build_secret: "xxxxxxxxx",
      notes: loadReleaseNotesCrashlytics()
    )
  end
  def loadReleaseNotesCrashlytics()
    file = File.open("../crashlytics/release_note.txt", "r")
    data = file.read
    file.close
    return data
  end
end
之后,我在CI服务器上使用带Fastlane路径的环境变量,将一个作业GOCD执行脚本放入其中。我成功了

-c
#{fastlane} crashlytics build:Release