• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Auto Build
 

Auto Build

on

  • 826 views

 

Statistics

Views

Total Views
826
Views on SlideShare
825
Embed Views
1

Actions

Likes
0
Downloads
4
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Auto Build Auto Build Presentation Transcript

        • Headless builds
        • Builds are on a machine in the opensource lab at OSU called ecf2 . It runs Suse 10.2 Linux
        • Code repository is on dev.eclipse.org in Ottawa (I think).
      06/07/09 Background
        • Install cruisecontrol and ant on ecf2 .
        • Auto Builds every 30 minutes (not saved).
        • Daily Builds uploaded to dev.eclipse.org .
        • Email sent to ecf-build mailing list.
        • Builds are uploaded to dev.eclipse.org and are available from our ECF web page. http://www.eclipse.org/ecf
      First Stage 06/07/09 Requirements
    • 06/07/09 Start Up CruiseControl First Stage /opt/cruisecontrol-2.7/main/bin/cruisecontrol.sh -configfile config.xml -port 8000 -rmiport 1099'
    • 06/07/09 Start Up CruiseControl First Stage We do an Auto Build and a Daily Build. Each is a separate cruisecontrol project in the same config file.   <!-- PROJECT ECF This is the Auto build --> <project name=&quot;ecf&quot; buildafterfailed=&quot;false&quot;> . </project> <!-- PROJECT ECFDAILY This is the Daily build --> <project name=&quot;ecfDaily&quot; buildafterfailed=&quot;false&quot;> . </project>
    • 06/07/09 cruisecontrol  config.xml  cc-build.xml  java, eclipse, antrunner, build.ecf.xml  Ant, build.xml First Stage Flow of Control
    • 06/07/09 Cruisecontrol sends email indicating success or failure. First Stage Email To subscribe to ecf-build, go to https://dev.eclipse.org/mailman/listinfo/ecf-build .
    • 06/07/09 First Stage Uploading Files Use passphraseless key authentication and scp so that we can put the upload in a script. In config.xml <onsuccess> <antpublisher antscript=&quot;/opt/apache-ant-1.7.0/bin/ant&quot; antWorkingDir=&quot;/opt/build.ecf&quot; buildfile=&quot; antscp.xml &quot; target=&quot;deploy&quot; /> </onsuccess> <target name=&quot;deploy&quot;> <scp todir=&quot;${deploydest}&quot; keyfile=&quot;${keyloc}&quot; passphrase=&quot;&quot;> <fileset dir=&quot;${deploysrc}&quot;> <include name=&quot;**/*.zip&quot;/> </fileset> </scp> </target> In antscp.xml
    • 06/07/09 Daily Builds are available from http://www.eclipse.org/ecf/downloads.php First Stage Downloading Dailies
    • 06/07/09 SecondStage Requirements
        • Manage builds on ecf2 remotely.
        • Force builds on ecf2 remotely(not saved).
      This involved configuring the Cruisecontrol web reporting tool. Make a cruisecontrol.war file, put it in Tomcat’s webapps directory, start up Tomcat.
    • 06/07/09 SecondStage Using the Web Reporting Tool Use ssh passphraseless key authentication and ssh port forwarding. Do it from Windows or Linux. On Windows I use PuTTY. Set ecf2.osuosl.org as host name and 22 as Port. Click on Load, then Open. On your PC
    • 06/07/09 SecondStage Starting up VNCSERVER On ecf2
    • 06/07/09 SecondStage Connecting with SSH Part 1 Another PuTTY. Load ecf2. Then, choose SSH/Tunnels. Type in 5904 for Source port. Type in localhost:5904 for Destination. On your PC Then, login
    • 06/07/09 SecondStage Connecting with SSH Part 2 On your PC
    • 06/07/09 SecondStage Using the Web Reporting Tool On your PC
    • 06/07/09 Third Stage Requirements
        • Add the OSU builds to cruisecontrol.
        • Source code for OSU plug-ins is on ecf1 .
        • Make OSU daily builds accessible from ecf1 web site.
    • 06/07/09 Click on ECF Extra Dailies , and see the available osu downloads. Currently, the osu plug-ins consist of the yahoo, skype, jms, and jgroups plug-ins. Third Stage Getting the OSU Dailies
    • 06/07/09
        • The cron that deletes old dailies should actually move them to an archive area rather than delete them. Users have suggested wanting access to dailies much more than a week old.
        • Make daily update sites as well as the zips available.
        • Add tests to the build.
        • Cruisecontrol is now running as me on ecf2. How about having it run as a non-login user?
        • There should be a better way of getting the current downloadable filelist to the web page on dev.eclipse.org .
      •  
      Fourth Stage Requirements