Sergey Kolos avatar Sergey Kolos committed ad2ef05

Modified repo/pom.xml for remote build server.

Comments (0)

Files changed (2)

com.tea.repo/pom.xml

                 <argument>-source</argument>
                 <argument>file:${basedir}/target/repository</argument>
                 <argument>-destination</argument>
-                <argument>c:/temp/repo1</argument>
+                <argument>d:/projects/tea-repo</argument>
 	            </arguments>
 		        </configuration>
 	        </execution>
                 <argument>-source</argument>
                 <argument>file:${basedir}/target/repository</argument>
                 <argument>-destination</argument>
-                <argument>c:/temp/repo1</argument>
+                <argument>d:/projects/tea-repo</argument>
               </arguments>
             </configuration>
           </execution>
                 <argument>-av</argument>
                 <argument>-p</argument>
                 <argument>--chmod=ug=rwX,o=rX</argument>
-                <argument>/cygdrive/c/Temp/repo1/</argument>
+                <argument>/cygdrive/d/projects/tea-repo/</argument>
                 <argument>skolos@sergeykolos.com:sergeykolos.com/tea/update/</argument>
               </arguments>
             </configuration>

com.tea.wiki/build.textile

 
 * Download "latest and greatest" from "Jenkins' website":http://jenkins-ci.org/ and run @java -jar jenkins.war@
 * Open an internet browser and go to: @localhost:8080@
+* Open @8080@ port in firewall so that Jenkins is accessible from other computers (test this)
+* Install Tomcat and add jenkins to it, check that it runs.
 * Add Mercurial plugin
 !images/jenkins-1.png!
 * Create new job:
 
 Things are now in good shape locally. The next step is to move source code to BitBucket and to set up dedicated build server.
 
-* Post code to bitbucket
-* Install maven 3 on your server
-* Install Jenkins on the server
+* Push code to bitbucket, by creating corresponding repository on bitbucket, checking it out locally to a temporary folder and then copying @hgrc@ file from the @temporary folder/.hg@ to the @workspace/.hg@. After that we can use TortoiseHG to push all code changes to the BitBucket repository.
+* "Install maven 3":http://maven.apache.org/download.html#Installation on your server
+* Install Jenkins on the server. To do this, first install Tomcat.
 * Create location for update site mirror
 * Adjust poms for new locations
 * Create tea project on the server's Jenkins
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.