Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting Hudson server

Tags:

java

hudson

Is there an way of starting the hudson server with just the .jar files in .hudson\war\WEB-INF\lib\ ?? Is it necessary to extract it from the hudson.war file?? I am using windows and I don't want it to start as a service..

like image 335
Arnab Sen Gupta Avatar asked Dec 29 '22 11:12

Arnab Sen Gupta


2 Answers

You don't need to extract the war file. You start hudson like this:

java -jar hudson.war

If you need to pass it command line arguments, you can do something like this:

java -Xmx512m -jar hudson.war --httpPort=8090 --prefix=/hudson --logfile=/tmp/hudson.log"
like image 89
Louis Marascio Avatar answered Dec 31 '22 00:12

Louis Marascio


To start hudson, just run:

java -jar hudson.war

http://wiki.hudson-ci.org/display/HUDSON/Starting+and+Accessing+Hudson

like image 20
nos Avatar answered Dec 31 '22 00:12

nos