Or be the build script hero
This presentation is the property of its rightful owner.
Sponsored Links
1 / 10

Moving from Manual to Automated Builds PowerPoint PPT Presentation


  • 57 Views
  • Uploaded on
  • Presentation posted in: General

(Or “Be the Build Script Hero”). Moving from Manual to Automated Builds. A little about me. Web - joshuarogers.net Twitter - @joshua_a_rogers Email - [email protected] Software Engineer http :// 3-gis.com. What?.

Download Presentation

Moving from Manual to Automated Builds

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Or be the build script hero

(Or “Be the Build Script Hero”)

Moving from Manual to Automated Builds


A little about me

A little about me

  • Web - joshuarogers.net

  • Twitter - @joshua_a_rogers

  • Email - [email protected]

    Software Engineer

    http://3-gis.com


Moving from manual to automated builds

What?

  • An automated way of performing actions necessary to create a complete build.

    • Compiles

    • Documentation

    • Installers

    • Deployment

    • Testing


Moving from manual to automated builds

Why?

  • The Bus Factor

    • When Bob the builder went on vacation

  • More reliable

    • When you get bored, you make mistakes

  • It Works on my Machine

    • Take that, denial.

  • People make mistakes

    • Forgotten files, forgotten syntax, etc...


  • Why cont

    Why? (Cont)

    • Made QA more useful

      • Two weeks is a LONG time to assume

  • Archiving / BST testing

    • Where did that bug come from?

  • It isn't as forgiving as we are

    • Hours to setup code for a dev environment

  • Your time is far more valuable

    • Hardware is cheap. You are not.


  • Moving from manual to automated builds

    How?

    Ant

    Nant

    Maven

    Rake

    Make

    Batch

    Qbasic w/ Fortran, Lisp, and Haskell bindings


    Moving from manual to automated builds

    Ant

    • Apache Ant

      • http://ant.apache.org/bindownload.cgi

  • Java-based

    • Multiplatform

    • Doesn't mean it is just for Java

  • Ant scripts are in XML


  • Ant cont

    Ant (Cont)

    • Tasks

      • Individual commands

  • Targets

    • Group tasks (commands) together

  • Projects

    • Contain groups of targets


  • Ant cont1

    Ant (Cont)

    <project name="hi" default="hello" description="Hello Builder">

    <target name="hello" description="Ancient developer ritual.">

    <echo>Hello World.</echo>

    </target>

    </project>


    Automation

    Automation

    • Jenkins

      • http://jenkins-ci.org/

    • CruiseControl.NET

      • http://cruisecontrolnet.org

    • Atlassian Bamboo

      • http://www.atlassian.com/software/bamboo


  • Login