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.
- i tried
cp
into$CIRCLE_ARTIFACTS
- did not work - 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