Running Tests with Jenkins

In this guide let’s see how Golem tests can be run in jenkins.


  • Jenkins is installed.
  • Python 3.6+ is installed in the Jenkins machine.
  • A Golem directory with tests is stored in a git repository.


In Jenkins go to Dashboard > Manage Jenkins > Global Tool Configuration

In Python > Python installations section add a Python version with the path to the executable:

We will be using ShiningPanda to manage the virtual environments in the Jenkins job:

In Jenkins go to Dashboard > Manage Jenkins > Manage Plugins. Install the ShiningPanda plugin and restart Jenkins.

Create a new Jenkins job of type “Freestyle project”

Define the location of the tests in the Source Code Management section:

Add a build step of type “Virtualenv Builder”:

Add a post-build action that collects the generated JUnit XML report: