I am a QA with a start-up company. My test setup is a developer in an Android project. He also configured Jenkins Jobs to run these tests in CI env.
This is the command specified in the Tasks field of Jenkinsβs task in the Build β Call Gradle script section. clean assembleDebug connectedAndroidTest testDebug
I would like to create my own Jenkins task to run various types of tests. Is there a way so that I can filter my tests just by running the "connectedAndroidTest" command? I tried using a shell script as follows, but that did not work. adb shell am instrument -w /
The following error message appears: [Run Smoke Test Suite] $ / bin / bash -xe / var / folders / qr / vtm32_d56vz0hgwg5ppdbswc00007q / T / hudson1779650135635362469.sh + adb shell am instrument -w '' class com.draysonwireless.airmard /BonusTest.java / var / folders / qr / vtm 32_d56vz0hgwg5ppdbswc00007q / T / hudson1779650135635362469.sh: line 2: adb command: not found Build the "Run the shell" step by marking the line as failed Finished: FAILURE
android android-instrumentation espresso
jellyBeans
source share