[jenkins@hzNgJenkins ~]$ java -jar jenkins.war --help
Running from: /home/jenkins/jenkins.war webroot: $user.home/.jenkins Jenkins Continuous Integration Engine 2.0 Usage: java -jar jenkins.war [--option=value] [--option=value] Options: --webroot = folder where the WAR file is expanded into. Default is ${JENKINS_HOME}/war --pluginroot = folder where the plugin archives are expanded into. Default is ${JENKINS_HOME}/plugins (NOTE: this option does not change the directory where the plugin archives are stored) --extractedFilesFolder = folder where extracted files are to be located. Default is the temp folder --daemon = fork into background and run as daemon (Unix only) --logfile = redirect log messages to this file --javaHome = Override the JAVA_HOME variable --toolsJar = The location of tools.jar. Default is JAVA_HOME/lib/tools.jar --config = load configuration properties from here. Default is ./winstone.properties --prefix = add this prefix to all URLs (eg http://localhost:8080/prefix/resource). Default is none --commonLibFolder = folder for additional jar files. Default is ./lib --logThrowingLineNo = show the line no that logged the message (slow). Default is false --logThrowingThread = show the thread that logged the message. Default is false --debug = set the level of debug msgs (1-9). Default is 5 (INFO level) --httpPort = set the http listening port. -1 to disable, Default is 8080 --httpListenAddress = set the http listening address. Default is all interfaces --httpKeepAliveTimeout = how long idle HTTP keep-alive connections are kept around (in ms; default 5000)? --httpsPort = set the https listening port. -1 to disable, Default is disabled --httpsListenAddress = set the https listening address. Default is all interfaces --httpsKeepAliveTimeout = how long idle HTTPS keep-alive connections are kept around (in ms; default 5000)? --httpsKeyStore = the location of the SSL KeyStore file. Default is ./winstone.ks --httpsKeyStorePassword = the password for the SSL KeyStore file. Default is null --httpsKeyManagerType = the SSL KeyManagerFactory type (eg SunX509, IbmX509). Default is SunX509 --httpsPrivateKey = this switch with --httpsCertificate can be used to run HTTPS with OpenSSL secret key / --httpsCertificate file and the corresponding certificate file --spdy = Enable SPDY. See http://wiki.eclipse.org/Jetty/Feature/NPN --controlPort = set the shutdown/control port. -1 to disable, Default disabled --handlerCountMax = set the max no of worker threads to allow. Default is 40 --handlerCountMaxIdle = set the max no of idle worker threads to allow. Default is 5 --useJasper = enable jasper JSP handling (true/false). Default is false --sessionTimeout = set the http session timeout value in minutes. Default to what webapp specifies, and then to 60 minutes --mimeTypes=ARG = define additional MIME type mappings. ARG would be EXT=MIMETYPE:EXT=MIMETYPE:... (e.g., xls=application/vnd.ms-excel:wmf=application/x-msmetafile) --maxParamCount=N = set the max number of parameters allowed in a form submission to protect against hash DoS attack (oCERT #2011-003). Default is 10000. --usage / --help = show this message Security options: --realmClassName = Set the realm class to use for user authentication. Defaults to ArgumentsRealm class --argumentsRealm.passwd.<user> = Password for user <user>. Only valid for the ArgumentsRealm realm class --argumentsRealm.roles.<user> = Roles for user <user> (comma separated). Only valid for the ArgumentsRealm realm class --fileRealm.configFile = File containing users/passwds/roles. Only valid for the FileRealm realm class Access logging: --accessLoggerClassName = Set the access logger class to use for user authentication. Defaults to disabled --simpleAccessLogger.format = The log format to use. Supports combined/common/resin/custom (SimpleAccessLogger only)--simpleAccessLogger.file = The location pattern for the log file(SimpleAccessLogger only)
常用的参数用法 见
http://www.cnblogs.com/yangxia-test/p/4365896.html
http://www.cnblogs.com/itech/archive/2011/11/04/2236230.html
