Commands to copy/paste to deploy a barebones Jenkins system

Requirements

  • - Bare VM installation or raw-metal installation
    • - configuration used:
      • - KVM x86_64 - sudo user: lava - ip address: 192.168.122.97 - OS: Ubuntu 12.04
    -

Commands for copy and paste

Get dependencies

   1 # ssh into server
   2 # ssh lava@192.168.122.97
   3 
   4 sudo apt-get install git -y 
   5 sudo apt-get install bzr -y
   6 
   7 
   8 # https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
   9 wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
  10 sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
  11 sudo apt-get update
  12 sudo apt-get install jenkins

Jenkins now installed on port 80

http://192.168.122.97:8080/

add plugins trigger support

http://192.168.122.97:8080

  • - Manage Jenkins - Manage Plugins - Install "Git Plugin" - Install "Parameterized Trigger Plugin"

    - DynamicAxis Plugin - Build Environment Plugin - Environment Script Plugin - Workspace Cleanup Plugin - EnvInject Plugin

problems

Fails with git tag "tell me who you are"

Platform/LAVA/Copy-Paste/Deploy-Jenkins-Server (last modified 2013-08-20 20:47:59)