5In our Test Automation environment we use an Ubuntu machine with Subversion and Jenkins. We launch our Test Cases over Windows machines, so there are few simple steps we must follow to configure Jenkins properly.
NOTE: here you have a guide to install Jenkins in Ubuntu 11.04.
1. Security: first of all, I recommend you to follow the initial steps of this guide to configure security in Jenkins.
2. To allow Windows machines to find our Ubuntu Server. Install Samba in Ubuntu: go to Applications > Ubuntu Software Center
Go to “Get software“. Search and install samba: ![]()
After samba installation, go to Jenkins and click on “Manage Jenkins” > “Configure System“. Change “localhost” in Jenkins Url field for your servername (or IP, but with this steps, name resolution should work fine!): ![]()
3. To allow our Ubuntu server to find Windows machines:
$ sudo apt-get install winbind
$ sudo gedit /etc/nsswitch.conf
hosts: files dns [...]
hosts: files wins dns [...]
4. Plugins installed for our test automation environment:
To install them, go to “Manage Jenkins > Manage Plugins > All plugins“, select them and click on “Install“. Jenkins must be restarted in order to get installed pluging working.
[...] NOTE: if you are planning to execute your testing over Windows machines, you can be interested in this post: Configuring Jenkins. [...]
[...] Configure Jenkins. [...]
[...] NOTE: if you are planning to execute your testing over Windows machines, you can be interested in this post: Configuring Jenkins. [...]
[...] Configure Jenkins. [...]
[...] Environment: in this example, we are going to use a Windows XP Virtual machine with Internet Explorer 8 to execute these test cases. We have configured this machine as a node of our Jenkins server (you can read this previous post to know how to do it). We use a Jenkins server with Robot Framework Plugin installed. [...]