Last modified by Bastian Triller on 2012/08/24 19:38

From version 70.1
edited by Ramsey Gurley
on 2011/04/23 15:13
Change comment: There is no comment for this version
To version 55.1
edited by David Avendasora
on 2011/06/13 21:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Installing and Using the Hudson build server
1 +Installing and Using Jenkins and Hudson Build Servers
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ramsey
1 +XWiki.avendasora
Content
... ... @@ -22,7 +22,7 @@
22 22  
23 23  {{info}}
24 24  
25 -Hudson uses a built-in servlet container in stand-alone mode. If you have Tomcat running on the computer already, you should use the {{\-}}{{{}{-}httpPort{-}}} and {{\-ajp13Port}} options to change which ports Hudson uses.
25 +Hudson uses a built-in servlet container in stand-alone mode. If you have Tomcat running on the computer already, you should use the {{\-httpPort}} and {{\-ajp13Port}} options to change which ports Hudson uses.
26 26  {code}
27 27  java -DHUDSON_HOME=/Developer/Hudson/Home -jar /Developer/Hudson/hudson.war -httpPort=9080 --ajp13Port=9009
28 28  {code}
... ... @@ -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 launchd on 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 (rwrr 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 {{noformat}}-rw---r--r root:wheel{{/noformat}} In /Library/LaunchDaemons/org.jenkins-ci.jenkins.plist I placed:
53 53  
54 54  {{code value="xml"}}
55 55  
... ... @@ -75,7 +75,6 @@
75 75   <string>--httpsPort=8080</string>
76 76   <string>--httpsKeyStore=/usr/local/jenkins/keystore.jks</string>
77 77   <string>--httpsKeyStorePassword=Jenkins123</string>
78 - <string>--httpsKeyStorePassword=Jenkins123</string>
79 79   </array>
80 80   <key>StandardOutPath</key>
81 81   <string>/usr/local/jenkins/.jenkins/log/out.txt</string>
... ... @@ -203,4 +203,4 @@
203 203  
204 204  == Building WO Apps ==
205 205  
206 -* Check out [[^setupWorkspace.sh]]
209 +* Check out [[Installing and Using Jenkins and Hudson Build Servers^setupWorkspace.sh]]