Changes for page Installing and Configuring Jenkins
Last modified by Bastian Triller on 2012/08/24 19:38
From version 73.1
edited by Ramsey Gurley
on 2011/04/24 16:18
on 2011/04/24 16:18
Change comment:
Removed duplicate line in program args
To version 77.1
edited by Ramsey Gurley
on 2011/04/24 16:30
on 2011/04/24 16:30
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -39,7 +39,11 @@ 39 39 1. Create a selfsigned test SSL certificate. 40 40 keytool genkey keyalg RSA alias selfsigned keystore keystore.jks -storepass ToPSecRet321 dname "cn=localhost" 41 41 1. Launch Hudson. 42 -java jar hudson.war -httpPort=-1 -httpsPort=8080 ~-~-httpsKeyStore=keystore.jks -httpsKeyStorePassword=ToPSecRet321 42 + 43 +{{noformat}} 44 +java -jar hudson.war --httpPort=-1 --httpsPort=8080 --httpsKeyStore=keystore.jks --httpsKeyStorePassword=ToPSecRet321 45 +{{/noformat}} 46 + 43 43 1. Launch browser 44 44 Open "https:~/~/localhost:8080" in browser. You might get a browser warning, because the certificate is not signed by a known certificate authority. Communication is SSL-encrypted nevertheless. 45 45 ... ... @@ -47,9 +47,9 @@ 47 47 48 48 === Standalone Jenkins and launchd on Mac OS X === 49 49 50 -In my case I created the jenkins user and JENKINS//HOME using dscl. ([[Using dscl to Create New Users and Groups>>http://mblog.lib.umich.edu/sites/archives/2008/04/using_dscl_to_c.html]]) To make jenkins launch when the machine boots up and relaunch if it dies, I created a launch daemon. Doing that requires a plist in the correct folder. Then either reboot, or launch the daemon with launch don the command line.//54 +In my case I created the jenkins user and JENKINS//HOME using dscl. ([[Using dscl to Create New Users and Groups>>http://mblog.lib.umich.edu/sites/archives/2008/04/using_dscl_to_c.html]]) To make jenkins launch when the machine boots up and relaunch if it dies, I created a launch daemon. Doing that requires a plist in the correct folder. Then either reboot, or launch the daemon with launchctl on the command line.// 51 51 52 -Make sure your permissions and user:group are set correctly on the plist (-rw-r ~-~-r- root:wheel). In /Library/LaunchDaemons/org.jenkins-ci.jenkins.plist I placed:56 +Make sure your permissions and user:group are set correctly on the plist (-rw-r{-}{-}r- root:wheel). In /Library/LaunchDaemons/org.jenkins-ci.jenkins.plist I placed: 53 53 54 54 {{code value="xml"}} 55 55