Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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 applicatio...
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 comp...
What we want to achieve...* Create a new PhoneGap Build project* Upload application files to that project* Automatically bu...
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 ...
Try it yourself...    http://autobuild.monkeh.me  username / password / appIDhttp://autobuild.monkeh.me/me%40me.com/passwo...
So... what’s the answer? * Design a workflow that suits your needs * Reduce repetition * Maintain your sanity * Enhance you...
Thank youMatt Gifford@coldfumonkehwww.mattgifford.co.ukmonkehWorks Ltd
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Automating PhoneGap Build
Upcoming SlideShare
Loading in …5
×

Automating PhoneGap Build

6,894 views

Published on

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

Published in: Technology, Business
  • Login to see the comments

Automating PhoneGap Build

  1. 1. AutomatingPhoneGap BuildMatt Gifford@coldfumonkehwww.mattgifford.co.ukmonkehWorks Ltd
  2. 2. I build stuffand I write about building stuff, too
  3. 3. http://www.flickr.com/photos/alancleaver/2661425133/
  4. 4. http://www.kylebean.co.uk
  5. 5. Compiling an app for everyplatform had the potential to be... ...a pain in the ass
  6. 6. LIFE WASMUCH EASIERWHEN AppleAND BlackBerryWERE JUSTFRUITS
  7. 7. build.phonegap.com
  8. 8. 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!
  9. 9. http://www.flickr.com/photos/spierisf/4258461086/
  10. 10. Why automate PhoneGap Build processes? * Streamline development processes * Enhance your workflow * It can be fun
  11. 11. Can PhoneGap Build be automated...? YES!!! (kind of)
  12. 12. Who can benefit from automated processes?
  13. 13. App management within the IDE (very cool)
  14. 14. The config.xml file
  15. 15. LET’S SEE IT IN ACTION
  16. 16. The PhoneGap Build API
  17. 17. The PhoneGap Build API * Create / Delete projects * Upload code * Force a build * Build status information * Download compiled applications
  18. 18. 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
  19. 19. LET’S SEE IT IN ACTION
  20. 20. Hydrate with Hydra
  21. 21. Voodoo magic...AWESOME sexyvoodoo magic!!
  22. 22. 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
  23. 23. Try it yourself... http://autobuild.monkeh.me username / password / appIDhttp://autobuild.monkeh.me/me%40me.com/password/12345
  24. 24. So... what’s the answer? * Design a workflow that suits your needs * Reduce repetition * Maintain your sanity * Enhance your development process
  25. 25. Thank youMatt Gifford@coldfumonkehwww.mattgifford.co.ukmonkehWorks Ltd

×