Jenkins执行shell calabash-android:command not found

时间:2016-09-13 23:39:32

标签: android jenkins

我正在尝试在我当地的Jenkins中运行Android自动化代码。执行失败,出现此错误。

脚本运行命令:

calabash-android run /Users/Shared/Jenkins/Desktop/Android_Apps/app-dev-xxx.apk ./gherkin/pro/xxxxtest.feature -p common_requirements -p android -p UK_en_android_3dot4dot6 -p commonBranch_br_2015 -p envqa -p squidman --tags @done_android ADB_DEVICE_ARG=9151621e --format Cucumber::Formatter::CustomHtml -o ./test_reports/temp.html

Error: /Users/Shared/Jenkins/tmp/hudson8798431523816454555.sh: line 4: calabash-android: command not found

我已使用ANDROID_HOME验证了PATHecho $ANDROID_HOME变量,并且我在Jenkins控制台中看到了正确的路径。有人可以帮我吗?

0 个答案:

没有答案