Wednesday, 16 April 2014

Install Jenkins on Ubuntu

Jenkins is a continuos integration environment which running on a server, it could connect to a repository such as Git or SVN to retrieve the last version of code and compile it following some general rules.

It is recommended for big projects to ensure that for any new change, the project will be compilable.

To install it on Ubuntu, just follow these steps:
1. Open the console or the terminal
2. Type the follow command to add the key

wget -q -O - | sudo apt-key add -

3. Type the follow command to add the repository of Jenkins into the list of repositories of your computer

sudo sh -c 'echo deb binary/ > /etc/apt/sources.list.d/jenkins.list

It might ask you for your credentials. If so, type it and continue.

4. Type the follow command to update the list of resources

sudo apt-get update

5. Type the follow command to install jenkins

sudo apt-get install jenkins

Source and more information:

No comments:

Post a Comment