Now you can see the test results in Jenkins. You are now ready to run your first Jenkins job. Make sure to publish the JUnit test results report to test-reports/*.xml 7. Our test project contains a build.xml, so we can use Ant to build the project. In the next step we'll specify how Jenkins needs to build or test project. This means Jenkins will each time fetch the latest code from our GitHub repository and run the tests from that code. Pick Git for Source Code Management and enter the repository URL for this demo: Specify a name for the job and pick the option "Build a free-style software project" in the Jenkins configuration.
To identify to our Selenium grid, you need to specify your API Key and Secret.ĭownload the credential file and copy it to your home directory ( ~/.testingbot) on your Jenkins machine.Ĭlick the "New Job" button from the main Jenkins dashboard. Once you've followed this setup, you'll be able to run your Selenium tests on our remote server. We'll set up a basic example where a simple Selenium test will run on Jenkins and the TestingBot Selenium grid.
#HOW TO INSTALL SELENIUM IDE PLUGIN ON JENKINS HOW TO#
You can download Jenkins from the official Jenkins page.īelow you will find a tutorial on how to integrate Jenkins with Selenium. You could for example run your Selenium tests every hour, or after each xx commits to your version control system. With Jenkins you can run your tests at the frequency you desire.
We've created a Plugin for Jenkins with lots of features, more information on this page Jenkins is a Java-based, open-source continuous integration (CI) system.