Showing posts with label jenkins. Show all posts
Showing posts with label jenkins. Show all posts

Wednesday, October 24, 2012

How to Start & Stop Jenkins on Mac


Start Jenkins: load the plist using launchctl
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
Stop Jenkins: unload the plist using launchctl
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist




Tuesday, November 1, 2011

Jenkins Build Server

Jenkins is a new fork created by the Hudson authors. After Oracle bought Java, the Hudson community could not get along with Oracle, so they forked off a branch of Hudson and created "Jenkins".
We use Jenkins to do the following:
  • Automated builds triggered by code check-ins
  • Runs JUnit tests upon build (as directed by Maven pom.xml files)
  • Runs Code Coverage tools (if any are configured)
  • Runs JavaDoc (if configured)
  • Creates an Archive of successful builds

Jenkins Configuration

We configure Jenkins to retain artifacts for only 60 days to conserve upon disk space.
Jenkins expands the war file and copies all contents to ~builderbob/.jenkins
Jenkins "Jobs" (i.e. projects) are located in ~builderbob/.jenkins/jobs Under this directory, there is a sub-directory for each Job.

Starting Jenkins

Jenkins run as a Winstone server. Start up is
1. cd /Users/builderbob/dev/jenkins
2. open a terminal while in buildbob account.
3. java -jar jenkins.war --httpPort=7070 
3. Hide window off to side