• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Automating PhoneGap Build
 

Automating PhoneGap Build

on

  • 5,231 views

The slide deck from my session at PhoneGap Day EU 2012 - "Au

The slide deck from my session at PhoneGap Day EU 2012 - "Au

Statistics

Views

Total Views
5,231
Views on SlideShare
5,170
Embed Views
61

Actions

Likes
4
Downloads
0
Comments
2

5 Embeds 61

http://prtp3r7ccmmi01 36
http://servidor1.i2e.es 14
http://10.50.232.60 5
http://lanyrd.com 3
https://twitter.com 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

12 of 2 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Hi Matt,

    Thank you for posting your experience using Jenkins, web hooks and Hydra! I am also examining this type of workflow for a personal project and find your presentation inspiring.
    Are you sure you want to
    Your message goes here
    Processing…
  • Nice presentation... anything you'd want to share with the Community? A slimmed down deck...with the juicy bits of code or the screenshots?
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • Who here wants to finish work on time, enjoy hobbies, have a life, spend time doing ‘other things’? I enjoy what I do. I love building and creating things. It makes me happy.\n
  • \n
  • \n
  • different mobile devices and operating systems needed different methods of compilation and packaging\n
  • \n
  • \n
  • PhoneGap has fixed that issue for us, which is awesome.\n
  • \n
  • Say goodbye to SDKs, compilers and hardware. Simply write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store ready apps for Apple iOS, Google Android, Palm, Symbian, BlackBerry and more.\n
  • \n
  • \n
  • The process has already been greatly simplified for us..\n
  • How can we make this easier process even easier? Streamline our development processes, enhance our workflow and make our tasks a little easier (and fun)\n
  • The build process is already automated and manages so much for you.\n
  • We still need some form of human interaction to control the workflow and manage the projects\n
  • Who can use these processes? Solo developer or teams / groups\n
  • Who can use these processes? Solo developer or teams / groups\n
  • \n
  • \n
  • The config.xml file takes a lot of the pressure away from the developer and informs the build process of assets, permissions and application version information, but for some it can still be daunting.\n
  • \n
  • I love APIs. They give access to resources and allow you to customise your workflow and projects.\n
  • \n
  • Continuous Integration servers for managing project builds fresh from the source. Perfect for some apps, but massive overkill for PhoneGap.\n
  • \n
  • \n
  • What tasks do you need to perform? Cleaning, zipping to archive...\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Automating PhoneGap Build Automating PhoneGap Build Presentation Transcript

  • AutomatingPhoneGap BuildMatt Gifford@coldfumonkehwww.mattgifford.co.ukmonkehWorks Ltd
  • I build stuffand I write about building stuff, too
  • http://www.flickr.com/photos/alancleaver/2661425133/
  • http://www.kylebean.co.uk
  • Compiling an app for everyplatform had the potential to be... ...a pain in the ass
  • LIFE WASMUCH EASIERWHEN AppleAND BlackBerryWERE JUSTFRUITS
  • build.phonegap.com
  • What do we need to do?* Upload code to PhoneGap Build service* Provide provisioning keys (if required)* Compile application (done for you)* Download and install* THAT’S IT!
  • http://www.flickr.com/photos/spierisf/4258461086/
  • Why automate PhoneGap Build processes? * Streamline development processes * Enhance your workflow * It can be fun
  • Can PhoneGap Build be automated...? YES!!! (kind of)
  • Who can benefit from automated processes?
  • App management within the IDE (very cool)
  • The config.xml file
  • LET’S SEE IT IN ACTION
  • The PhoneGap Build API
  • The PhoneGap Build API * Create / Delete projects * Upload code * Force a build * Build status information * Download compiled applications
  • What we want to achieve...* Create a new PhoneGap Build project* Upload application files to that project* Automatically build project* Download when complete* Install on device
  • LET’S SEE IT IN ACTION
  • Hydrate with Hydra
  • Voodoo magic...AWESOME sexyvoodoo magic!!
  • What will happen...* PhoneGap Build project assigned to repos* Commit code to GitHub repos* GitHub delivers payload (form data) to web URL (which we don’t use in this case)* URL forces the pull request in PG Build* Application builds from latest source* Relax with a beer
  • Try it yourself... http://autobuild.monkeh.me username / password / appIDhttp://autobuild.monkeh.me/me%40me.com/password/12345
  • So... what’s the answer? * Design a workflow that suits your needs * Reduce repetition * Maintain your sanity * Enhance your development process
  • Thank youMatt Gifford@coldfumonkehwww.mattgifford.co.ukmonkehWorks Ltd