Beta: Artiifacts not collected - Android

android
shipped
artifacts

#1

Hi there.

I am currently having a problem with the Beta program. I am generating artifacts and moving them into the right ($CIRCLE_ARTIFACTS ) folder, but in the backend the artifects never show up.

  1. i tried cp into $CIRCLE_ARTIFACTS - did not work
  2. i tried the artifacts: - '/home/ubuntu/$PROJECT_NAME/app/build/outputs/apk/' option - did not work

here is my current circle.yml

machine:
  java:
    version: openjdk8

  environment:
    ANDROID_HOME: /usr/local/android-sdk-linux

general:
  artifacts:
    - '/home/ubuntu/$PROJECT_NAME/app/build/outputs/apk/'

dependencies:
  cache_directories:
    - ~/.gradle
    - ~/.android
    - /usr/local/android-sdk-linux/tools
    - /usr/local/android-sdk-linux/build-tools/23.0.3

  pre:
    - if ! $(grep -q "Revision=23.0.3" {/usr/local/android-sdk-linux/tools/source.properties); then echo y | android update sdk -u -a -t "tools,platform-tools,extra-google-m2repository,extra-google-google_play_services,extra-android-support,android-23"; fi
    - if [ ! -e /usr/local/android-sdk-linux/build-tools/23.0.3 ]; then echo y | android update sdk -u -a -t "build-tools-23.0.3"; fi
    - chmod +x gradlew

test:
  override:
    - ./gradlew assembleDebug
  post:
    - ls $CIRCLE_ARTIFACTS

#2

If, by beta you mean BitBucket, it is a current known issue. Bug reports for beta should go to the beta email, that will generate a ticket on CircleCi’s side for you.


#3

Hi.

Thanks for your response, that was exactly what I meant. The issue seems to be resolved now.

Thanks a lot.


#4