Changes for page Installing and Configuring Jenkins
Last modified by Bastian Triller on 2012/08/24 19:38
From version 55.1
edited by David Avendasora
on 2011/06/13 21:41
on 2011/06/13 21:41
Change comment:
There is no comment for this version
To version 71.1
edited by Ramsey Gurley
on 2011/04/23 15:13
on 2011/04/23 15:13
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Installing and Using JenkinsandHudsonBuildServers1 +Installing and Using the Hudson build server - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. avendasora1 +XWiki.ramsey - 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,11 +39,7 @@ 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 - 43 -{{noformat}} 44 -java -jar hudson.war --httpPort=-1 --httpsPort=8080 --httpsKeyStore=keystore.jks --httpsKeyStorePassword=ToPSecRet321 45 -{{/noformat}} 46 - 42 +java jar hudson.war httpPort=-1 httpsPort=8080 httpsKeyStore=keystore.jks httpsKeyStorePassword=ToPSecRet321 47 47 1. Launch browser 48 48 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. 49 49 ... ... @@ -51,9 +51,9 @@ 51 51 52 52 === Standalone Jenkins and launchd on Mac OS X === 53 53 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 launch ctlon the command line.//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.// 55 55 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: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: 57 57 58 58 {{code value="xml"}} 59 59 ... ... @@ -79,6 +79,7 @@ 79 79 <string>--httpsPort=8080</string> 80 80 <string>--httpsKeyStore=/usr/local/jenkins/keystore.jks</string> 81 81 <string>--httpsKeyStorePassword=Jenkins123</string> 78 + <string>--httpsKeyStorePassword=Jenkins123</string> 82 82 </array> 83 83 <key>StandardOutPath</key> 84 84 <string>/usr/local/jenkins/.jenkins/log/out.txt</string> ... ... @@ -206,4 +206,4 @@ 206 206 207 207 == Building WO Apps == 208 208 209 -* Check out [[ Installing and Using Jenkins and Hudson Build Servers^setupWorkspace.sh]]206 +* Check out [[^setupWorkspace.sh]]