Archive for November, 2014

Running Jenkins

RUNNING

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:
https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache

MAINTENANCE

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 http://updates.jenkins-ci.org/download/war/1.234/jenkins.war
$ rm jenkins.war; ln -s jenkins-1.234.war jenkins.war
$ # run.. , see above

Advertisements

Schreibe einen Kommentar