$circle_test_report

android
java
artifacts

#1

Uh-oh, some tests have failed!
Failing command: cp -r /home/ubuntu/TestApp/app/build/outputs/androidTest-results/ $CIRCLE_TEST_REPORT
Exit code: 1


#2

You should definitely post more information about your problem. Please see Creating a Good Question for more information.

I found the same line when searching for your issue. Could it be that your app isn’t called “TestApp” and because of that it tries to copy results from a folder that doesn’t even exist?

# copy the test results to the test results directory.
- cp -r /home/ubuntu/TestApp/app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORT

I guess you wouldn’t even need the whole path and a relative path would last as well:

- cp -r app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORT

Or something like this…?

- cp -r $HOME/$CIRCLE_PROJECT_REPONAME/app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORT

#3

i got solution . change the $CIRCLE_TEST_REPORT to $CIRCLE_TEST_REPORTS


#4

That makes sense… https://circleci.com/docs/1.0/environment-variables/


#5