Continuous integration systems let you automatically build and test your app every time you check in updates to your source control system. You can use any continuous integration tool that can initiate a Gradle build to build your Android Studio projects.
To run tests as part of the build, you need to either configure your continuous integration server to use the Android Emulator or use Firebase Test Lab to run your tests.
For specific information about configuring continuous integration for your Android project using Jenkins and Firebase Test Lab, see Start testing with continuous integration (CI) systems.