There are Espresso tests Android and CI Jenkins, which builds the project. How to implement a test run after building the project?

  • use pipelines or freestyle job ? - FCh
  • @FCh freestyle job - nuqss

1 answer 1

You need to install qemu-kvm and add a Jenkins user to this group. Build an Android Emulator Plugin . In the Jenkins repository it is too old. And JUnit Plugin .

In your Freestyle job after rebooting Jenkins, the Run an Android emulator during build checkbox will appear in the Build Environment . In Execute Shell call the commands to run the tests.

A selection of manuals, with examples of how to do it:

  • thanks for the answer. Need to check. - nuqss