Page tree
Skip to end of metadata
Go to start of metadata

If you chose our Python Git Project, you will have to specify a build step that runs the python test runner.

Before you begin, make sure that Python is installed on the machine that Jenkins runs on and that Python executable was added as Environment Variable. Make sure to also install Appium dependencies by running the command

pip install Appium-Python-Client

In the job configuration screen, scroll down to Build.

Click on Add build step and choose Execute Batch Command.

Depending on the environment that Jenkins operates on (Windows or UNIX), choose either Execute Windows Batch Command or Execute Shell.

Add the command:

python -m unittest

Scroll all the way down and click Save or Apply.

You are all set! Go to the project homepage and click on Build with Parameters and then click on Build.

  • No labels