====== Jenkins CI == ===== Doc == CLI args: ''java -jar jenkins.war --help'' Additional (unmentioned) CLI args at http://winstone.sourceforge.net/ ===== Install == There is a Slack package. Add necessary user and group: from jenkins.SlackBuild: groupadd -g 251 jenkins useradd -g 251 -u 251 -r -s /bin/bash -d /var/lib/jenkins jenkins ===== Install config == Is done in ''/etc/jenkins/jenkins.conf''. (This file controlls ''/usr/bin/jenkinsd'') Jenkins [[ttps://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins|needs]] a home dir ''JENKINS_HOME'' to perform builds and keep archives. The Slack package defaults that dir to ''/var/lib/jenkins''. To move it to the ''/home'' partion with little effort, you can simply use a symlink: cd /var/lib cp -a jenkins /home/ chown -R jenkins:jenkins /home/jenkins mv jenkins jenkins.sborg ln -s /home/jenkins jenkins ===== Upgrade: == Just Replace .war file in /usr/share/jenkins/jenkins.war This can do jenkins by itself if you give the according file permission to /usr/share/jenkins/jenkins.war