Chapter 5. Jenkins Configuration

Table of Contents

Installing Jenkins
Installing and configuring Jenkins TestLink Plug-in
Creating a job in Jenkins
TestLink Configuration
Test Execution
Result Seeking Strategy
Explaining the Job configuration parameters
TestLink Version
Test Project Name
Test Plan name
Build Name
Single Build Steps
Iterative Test Build Steps
Test Result Seeking Strategies
Include pattern
Key Custom Field
Attach TestNG XML
Mark skipped test as Blocked
Environment variables

Installing Jenkins

Download jenkins.war from http://www.jenkins-ci.org. Now open a terminal and execute java -jar jenkins.war. This will initiate Jenkins in port 8080 by default (if you need to change that port, use --httpPort=9999).

Jenkins creates a default workspace for you at ~/.jenkins or it uses the folder specified in JENKINS_HOME environment variable.

Go to http://localhost:8080 to check if your installation is working. We will call this page as main screen from now on. The examples in this tutorial require you to have administrator rights in Jenkins.