Hi,
How can I configure the pipline to run my android builds, currently I have a vary basic configuration
# This is a sample build configuration for Java – Gradle. # Check our guides at https://confluence.atlassian.com/x/zd-5Mw for more examples. # Only use spaces to indent your .yml configuration. # ----- # You can specify a custom docker image from Docker Hub as your build environment. image: java:8 pipelines: default: - step: script: # Modify the commands below to build your repository. # You must commit the Gradle wrapper to your repository # https://docs.gradle.org/current/userguide/gradle_wrapper.html - bash ./gradlew build
That results in the following error:
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
I've figured the error out with this blog post https://medium.com/@_tiwiz/building-android-with-bitbucket-pipelines-83cd62dbde33
Wondering now how to start an emulator to run the connected tests
From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.
Start Learning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.