https://circleci.com/gh/Manikkumar1988/Wallpaper-Changer-Pro/10
Above build number fails and unable to continue the usage of Circle CI, Any insights on rectifying error would be tremendous helpful.
Error log says:
$ (cd Wallpaper-Changer-Pro/$CIRCLE_BUILD_NUM && ./gradlew)
/opt/circleci/.rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: Wallpaper-Changer-Pro/10: No such file or directory
(cd Wallpaper-Changer-Pro/$CIRCLE_BUILD_NUM && ./gradlew) returned exit code 1
Action failed: (cd Wallpaper-Changer-Pro/$CIRCLE_BUILD_NUM && ./gradlew)
And here’s my circle.yml
`machine:
environment:
ANDROID_HOME: /home/ubuntu/android
dependencies:
cache_directories:
- ~/.android
- ~/android
override:
- (echo “Downloading Android SDK v19 now!”)
- (source environmentSetup.sh && getAndroidSDK)
- (cd Wallpaper-Changer-Pro/$CIRCLE_BUILD_NUM && ./gradlew)
test:
pre:
- $ANDROID_HOME/tools/emulator -avd circleci-android22 -no-skin -no-audio -no-window:
background: true
- (source environmentSetup.sh && waitForAVD)
override:
- (echo “Running JUnit tests!”)
- adb shell input keyevent 82
- (cd Wallpaper-Changer-Pro/$CIRCLE_BUILD_NUM./gradlew connectedAndroidTest)
- cp -r Wallpaper-Changer-Pro/$CIRCLE_BUILD_NUM/app/build/reports/androidTests/connected $CIRCLE_ARTIFACTS
- cp -r Wallpaper-Changer-Pro/$CIRCLE_BUILD_NUM/app/build/outputs/apk $CIRCLE_ARTIFACTS `