• Blog
  • En Twitter
  • Aprendiendo
  • Descubriendo
  • Disfrutando
  • Trabajando
  • Creando
    • Fotografías
  • Galerías
    • Ponferrada
  • Vídeos
    • Favoritos
    • Humor
    • Juegos
    • Música
    • Cine

Enlarge Image

ago
25
2011
 5

Configuring Jenkins in Ubuntu 11.04


In 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

  • Find this line:

 hosts: files dns [...]

  • Add “wins” to the line and save:

hosts: files wins dns [...]

4. Plugins installed for our test automation environment:

  • Subversion Plugin
  • Screenshot Plugin
  • Robot Framework Plugin

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.

 

5 Comments for Configuring Jenkins in Ubuntu 11.04


Installing Subversion and Jenkins in Ubuntu 11.04 | The Blojo Times
August 25, 2011, 2:30 pm

[...] NOTE: if you are planning to execute your testing over Windows machines, you can be interested in this post: Configuring Jenkins. [...]


Reply

Deploying an Automation environment for Software Testing | The Blojo Times
September 5, 2011, 9:47 pm

[...] Configure Jenkins. [...]


Reply

Blojo Reloaded » Installing Subversion and Jenkins in Ubuntu 11.04
January 30, 2012, 8:44 am

[...] NOTE: if you are planning to execute your testing over Windows machines, you can be interested in this post: Configuring Jenkins. [...]


Reply

Blojo Reloaded » Deploying an Automation environment for Software Testing
January 30, 2012, 12:43 pm

[...] Configure Jenkins. [...]


Reply

Blojo Reloaded » Software Testing Automation – An START-TO-END example
January 30, 2012, 12:52 pm

[...] 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. [...]


Reply



Leave A Reply





  Cancel Reply

  • Categorías

    • Aprendiendo (44)
    • Blojo (152)
    • Creando (2)
    • Descubriendo (2)
    • Disfrutando (4)
    • Trabajando (10)





Blojo v3.4 | Proudly Powered by Camelot Fields