Step 4: Using the plugin in a Jenkins job - AWS Device Farm

Step 4: Using the plugin in a Jenkins job

Once you have installed the Jenkins plugin, follow these instructions to use the plugin in a Jenkins job.

  1. Log into your Jenkins web UI.

  2. Click the job you want to edit.

  3. On the left-hand side of the screen, choose Configure.

  4. Scroll down to the Post-build Actions header.

  5. Click Add post-build action and select Run Tests on AWS Device Farm.

  6. Select the project you would like to use.

  7. Select the device pool you would like to use.

  8. Select whether you'd like to have the test artifacts (such as the logs and screenshots) archived locally.

  9. In Application, fill in the path to your compiled application.

  10. Select the test you would like run and fill in all the required fields.

  11. Choose Save.