Android CI using Bitbucket Pipelines and Docker

后端 未结 3 2005
一整个雨季
一整个雨季 2021-02-01 17:53

I am trying to set up Continuous Integration (CI) in Bitbucket Pipelines for Android.

I have created a sample blank activity using Android Studio 2.1.1.

With Pi

3条回答
  •  忘了有多久
    2021-02-01 18:15

    It looks like uber/android-build-environment is not supported anymore.

    I ended up using javiersantos/android-ci instead which works perfectly from scratch.

    Just add the following content to bitbucket-pipeline.yml:

    image: javiersantos/android-ci:27.0.3
    
    pipelines:
      default:
        - step:
            script:
              - export GRADLE_USER_HOME=`pwd`/.gradle
              - chmod +x ./gradlew
              - ./gradlew assembleDebug
    

提交回复
热议问题