Difference between revisions of "Jenkins server setup"

From Inkscape Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
     apt-get install autopoint
 
     apt-get install autopoint
  
=====Jenkins=====
+
=====Install Jenkins=====
 
Follow the instructions on [https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu Jenkins wiki]:
 
Follow the instructions on [https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu Jenkins wiki]:
 
     wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
 
     wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
Line 19: Line 19:
 
     sudo /etc/init.d/jenkins start
 
     sudo /etc/init.d/jenkins start
 
Jenkins is now accessible through port 8080.
 
Jenkins is now accessible through port 8080.
 +
 +
=====Setup Jenkins=====
 +
*  Manage Jenkins -> Global security
 +
** Enable security
 +
** Access control -> Jenkins' own user database, allow users to sign up. Anyone can do anything. Save.
 +
** Sign yourself up.
 +
** Back to Global security
 +
** Access control -> Authorization -> matrix-based security.
 +
*** add your username to the matrix and give yourself full auth.
 +
*** Save.
 +
** Access control -> disallow users to sign up (no reason for it, and may confuse people)
  
 
==== TO DO ====
 
==== TO DO ====
 
* figure out how to reroute traffic such that jenkins.inkscape.org works instead of only jenkins.inkscape.org:8080
 
* figure out how to reroute traffic such that jenkins.inkscape.org works instead of only jenkins.inkscape.org:8080

Revision as of 19:42, 12 November 2014

Installed software

The software that was installed on our Ubuntu testing server (jenkins.inkscape.org).

   apt-get install emacs24-nox
Inkscape build dependencies
   apt-get install bazaar
   apt-get build-dep inkscape
   apt-get install autopoint
Install Jenkins

Follow the instructions on Jenkins wiki:

   wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
   sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
   sudo apt-get update
   sudo apt-get install jenkins
   sudo /etc/init.d/jenkins start

Jenkins is now accessible through port 8080.

Setup Jenkins
  • Manage Jenkins -> Global security
    • Enable security
    • Access control -> Jenkins' own user database, allow users to sign up. Anyone can do anything. Save.
    • Sign yourself up.
    • Back to Global security
    • Access control -> Authorization -> matrix-based security.
      • add your username to the matrix and give yourself full auth.
      • Save.
    • Access control -> disallow users to sign up (no reason for it, and may confuse people)

TO DO

  • figure out how to reroute traffic such that jenkins.inkscape.org works instead of only jenkins.inkscape.org:8080