Skip to content

Instantly share code, notes, and snippets.

@sriramster
Last active October 27, 2015 07:01
Show Gist options
  • Save sriramster/cad55cc35b55ba0a5a75 to your computer and use it in GitHub Desktop.
Save sriramster/cad55cc35b55ba0a5a75 to your computer and use it in GitHub Desktop.
CI configuration notes

CI [Continous Integration - Generic]

Some important URL's about CI-Generic are below.

How to setup Jenkins on a Debian/Ubuntu Machine?

On a debian or ubuntu is fairly straight forward to setup jenkin's.

  • First add the jenkins debian repo keys to your apt repository like below:

wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -

  • Once this succeeds, follow it up with adding the debian repo for jenkins into your /etc/apt/sources.list file.

deb http://pkg.jenkins-ci.org/debian binary/

  • After this, update the apt repo for the listing to work and the install jenkins. Just be careful about system breakages here, when working with debian unstable the possiblities that your system might break completely when working with unstable repositories.

apt-get update apt-get install jenkins

Jenkins init and config

  • Jenkins work on a completely web user interface approach, which lets us do easy administration.

  • Once jenkins is installed, we start jenkins daemon in background with this.

/etc/init.d/jenkins start

And,

service jenkins start # this works on 'System V init' supported operating systems.

  • TODO: Check how it works for systemd backed sytems.

Once, jenkins comes up just visit the URL below

Localhost_8080 , this shows up jenkins home page.

  • A more detailed environ setup details is demonstrated on the below URL.

  • Jenkins Tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment