Archive for November, 2014

Running Jenkins


Jenkins could run on its own with the winestone http server included.
To run it, simply call:

java -jar jenkins.war

But that’s no real life example, mine is:

JENKINS_HOME=/var/cit/jenkins java -jar /opt/jenkins/jenkins.war --httpPort=8082 --httpListenAddress=127.0.1 1> /opt/jenkins/jenkins.log 2>&1 &

And BTW, access it through an apache, only:


Jenkins folks update their software frequently, this is a simple update tool chain:

$ ps -ef | grep jenkins
$kill -9 ...
$ cd /opt/jenkins
$ wget -O jenkins-1.234.war
$ rm jenkins.war; ln -s jenkins-1.234.war jenkins.war
$ # run.. , see above


Schreibe einen Kommentar