# To all devs- i have created a jenkins job to checkout code from GITHUB and create apk, now need help to run katalon test suite on the apk

**URL:** <https://forum.katalon.com/t/to-all-devs-i-have-created-a-jenkins-job-to-checkout-code-from-github-and-create-apk-now-need-help-to-run-katalon-test-suite-on-the-apk/35835>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [November 5, 2019, 3:55pm UTC](https://forum.katalon.com/t/to-all-devs-i-have-created-a-jenkins-job-to-checkout-code-from-github-and-create-apk-now-need-help-to-run-katalon-test-suite-on-the-apk/35835 "2019-11-05T15:55:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [November 6, 2019, 3:55am UTC](https://forum.katalon.com/t/to-all-devs-i-have-created-a-jenkins-job-to-checkout-code-from-github-and-create-apk-now-need-help-to-run-katalon-test-suite-on-the-apk/35835/2 "2019-11-06T03:55:59Z")

</div>

Hi @Bal_Mukund,

You can definitely run tests on an emulator instead of a real device, but you’ll need to start the emulator first. You can start an installed emulator from the command line using some commands here: [https://developer.android.com/studio/run/emulator-commandline](https://developer.android.com/studio/run/emulator-commandline)

Hardcoding the path to the APK seems OK to me if it’s not going to change. You can use a relative path in the `startApplcation` command so it’s not so brittle. I think you could also pass the location of the APK file on the command line, but it’s a bit tricky. Here’s a thread about it: [How to pass user defined parameters from command line](http://forum.katalon.com/t/how-to-pass-user-defined-parameters-from-command-line/8771/14)

As for installing Katalon Studio automatically, you might have luck with running Katalon Studio in a Docker container, as mentioned here: [https://docs.katalon.com/katalon-studio/videos/katalon\_run\_docker\_container.html](https://docs.katalon.com/katalon-studio/videos/katalon_run_docker_container.html)  
There’s also a Katalon Jenkins plugin which could take care of that for you: [https://wiki.jenkins.io/display/JENKINS/Katalon+Plugin](https://wiki.jenkins.io/display/JENKINS/Katalon+Plugin)

Hope this helps,

Chris

---

_[View the full topic](https://forum.katalon.com/t/to-all-devs-i-have-created-a-jenkins-job-to-checkout-code-from-github-and-create-apk-now-need-help-to-run-katalon-test-suite-on-the-apk/35835)._
