The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

aws-device-farm

devicefarm: Run Tests on AWS Device Farm

  • projectName
    Name of AWS Device Farm project to use. This can be found in your AWS web console.
    Examples:
    demoproject
    My FireOS Project
    My Android Project
    In case you are not able to see the Projects, refer to troubleshooting guide
    • Type: String
  • devicePoolName
    Name of AWS Device Farm device pool to use.
    Examples:
    Top 10 devices
    Top 25 devices
    My Custom Tablet Pool
    • Type: String
  • testSpecName
    Use the default YAML spec, or select one of your saved YAML spec.
    • Type: String
  • environmentToRun
    • Type: String
  • appArtifact
    File pattern (local to workspace) where the newly built application (.apk, .ipa) exists.
    Leave it blank when it is a web application.

    Examples:
    **/build/apk/MyApp-*-debug.apk
    /bin/apk/MyApp.apk
    • Type: String
  • runName
    Name pattern to name your Device Farm Run. You can also use Jenkins environment variables.
    Examples:
    SanityTest-${BUILD_TAG}
    IntegrationTest-${BUILD_ID}
    • Type: String
  • testToRun
    • Type: String
  • storeResults
    • Type: boolean
  • isRunUnmetered
    • Type: boolean
  • eventCount
    • Type: String
  • eventThrottle
    • Type: String
  • seed
    • Type: String
  • username
    • Type: String
  • password
    • Type: String
  • appiumJavaJUnitTest
    • Type: String
  • appiumJavaTestNGTest
    • Type: String
  • appiumPythonTest
    • Type: String
  • appiumRubyTest
    • Type: String
  • appiumNodeTest
    • Type: String
  • calabashFeatures
    File pattern (local to workspace) where Calabash features archive.
    Examples:
    **/bin/tests/*.zip
    /tests/Calabash/features.zip
    • Type: String
  • calabashTags
    Comma separated list of tags which will be passed to Calabash.
    Examples:
    @working
    • Type: String
  • calabashProfile
    • Type: String
  • junitArtifact
    File pattern (local to workspace) where the JUnit tests exist.
    Examples:
    **/build/apk/MyApp-*-tests.apk
    /artifacts/MyAppTests.apk
    • Type: String
  • junitFilter
    Comma separated list of TestCase/TestSuite names which will be run.
    Examples:
    Running a single testcase: com.android.foo.FooTest
    Running a single test: com.android.foo.FooTest#testFoo
    Running multiple tests: com.android.foo.FooTest,com.android.foo.BarTest
    • Type: String
  • uiautomatorArtifact
    File pattern (local to workspace) where the UI Automator tests JAR exists.
    Examples:
    **/build/tests/MyApp-*-tests.jar
    /artifacts/MyAppTests.jar
    • Type: String
  • uiautomatorFilter
    Comma separated list of TestCase/TestSuite names which will be run.
    Examples:
    Running a single testcase: com.android.foo.FooTest
    Running a single test: com.android.foo.FooTest#testFoo
    Running multiple tests: com.android.foo.FooTest,com.android.foo.BarTest
    • Type: String
  • uiautomationArtifact
    • Type: String
  • xctestArtifact
    • Type: String
  • xctestFilter
    A test filter string.
    Examples:
    Running a single test class: "LoginTests"
    Running a multiple test classes: "LoginTests,SmokeTests"
    Running a single test: "LoginTests/testValid"
    Running multiple tests: "LoginTests/testValid,LoginTests/testInvalid"
    • Type: String
  • xctestUiArtifact
    • Type: String
  • xctestUiFilter
    • Type: String
  • appiumVersionJunit
    • Type: String
  • appiumVersionPython
    • Type: String
  • appiumVersionTestng
    • Type: String
  • ifWebApp
    • Type: boolean
  • extraData
    • Type: boolean
  • extraDataArtifact
    File pattern (local to workspace) where the extra date file (.zip) exists.
    Examples:
    **/build/apk/extra-data.zip
    • Type: String
  • deviceLocation
    • Type: boolean
  • deviceLatitude
    • Type: double
  • deviceLongitude
    • Type: double
  • radioDetails
    • Type: boolean
  • ifBluetooth
    • Type: boolean
  • ifWifi
    • Type: boolean
  • ifGPS
    • Type: boolean
  • ifNfc
    • Type: boolean
  • jobTimeoutMinutes
    • Type: int
  • ifVideoRecording
    • Type: boolean
  • ifAppPerformanceMonitoring
    • Type: boolean
  • ignoreRunError
    • Type: boolean
  • ifVpce
    • Type: boolean
  • ifSkipAppResigning
    • Type: boolean
  • vpceServiceName
    • Type: String

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.