-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Since Pipeline syntax for firebaseTest configuration, I can't find the way to configure a device for the test. Here is my pipeline command:
firebaseTest command: instrumentation(app: "myApp.apk",
test: "myTestApp.apk",
device: [ "model=Nexus5,version=23,locale=en,orientation=portrait" ],
directoriesToPull: "/sdcard/Download/report",
resultsHistoryName: "${env.JOB_NAME}_${env.BUILD_NUMBER}"),
gcloud: "/usr/bin/gcloud",
resultsDir: 'firebase_results'
and I get this error:
java.lang.ClassCastException: class com.simple.jenkins.firebase.AdHocCommand.setDevice() expects class com.simple.jenkins.firebase.AndroidDevice but received class java.lang.String
What is the right format for setting the device?
Metadata
Metadata
Assignees
Labels
No labels