Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Android pipeline

Alexandru Calinoiu May 9, 2017 edited

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.

1 answer

0 votes
Alexandru Calinoiu May 9, 2017

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

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
AUG Leaders

Atlassian Community Events