Jenkins

From Crashcourse Wiki

Jump to: navigation, search

Contents

[edit] STUFF

  • What else need be installed? (Java, Node.js, ...)
  • Plug-ins (Git, ...)
  • Perform builds with Maven or Gradle?

[edit] Getting started

[edit] Installation

jenkins-1.605-1.1.noarch

From /etc/passwd:

jenkins:x:971:969:Jenkins Continuous Build server:/var/lib/jenkins:/bin/false

From /etc/group:

jenkins:x:969:

[edit] Contents of RPM file

$ rpm -ql jenkins
/etc/init.d/jenkins
/etc/logrotate.d/jenkins
/etc/sysconfig/jenkins
/usr/lib/jenkins
/usr/lib/jenkins/jenkins.war
/usr/sbin/rcjenkins
/var/cache/jenkins
/var/lib/jenkins
/var/log/jenkins
$

[edit] Starting

$ sudo systemctl start jenkins
$ sudo systemctl -l status jenkins
● jenkins.service - LSB: Jenkins continuous build server
   Loaded: loaded (/etc/rc.d/init.d/jenkins)
   Active: active (running) since Tue 2015-03-17 15:16:58 EDT; 35min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25979 ExecStart=/etc/rc.d/init.d/jenkins start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/jenkins.service
           └─26004 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20

Mar 17 15:16:55 Device-040570 runuser[25982]: pam_unix(runuser:session): session opened for user jenkins by (uid=0)
Mar 17 15:16:58 Device-040570 runuser[25982]: pam_unix(runuser:session): session closed for user jenkins
Mar 17 15:16:58 Device-040570 jenkins[25979]: Starting Jenkins [  OK  ]
$

[edit] Browsing

http://localhost:8080/
Personal tools