Reputation: 3037
I installed jenkins on ubuntu as described here: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
But this seems to be a rather old version: 1.424.6+dfsg-1
The latest version, according to http://pkg.jenkins-ci.org/debian/ is 1.574. The version 1.424 is from 2011. How can I install the newest version?
Upvotes: 0
Views: 1002
Reputation: 62908
To test it out:
jenkins.war
of desired version to a location of your choice, such as /home/desireduser/jenkins/
export JENKINS_HOME=/home/desireduser/jenkins
cd ~/jenkins ; java -jar jenkins.war
If you just want to test it out in a secure environment, you can do this with your own account. For shared use, you probably want to create user jenkins or something. But the point of above is, simply running Jenkins is very simple. Things get a bit more complicated and platform-dependent only, when you want it to start it automatically, etc.
To install it as daemon, there are docs.
Alternative way: install with apt-get, then just replace the jenkins.war file with newer version, and restart the service. Jenkins should take care of updating all the extra files. Disclaimer: I have not actually tested this, so I can't promise it actually works... better take backups of jobs, etc.
Upvotes: 1