Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Introduction to Continuous Integration with Jenkins

2.501 Aufrufe

Veröffentlicht am

Talk on Continuous Integration given at Sunshine PHP 2015 on February 7.

Continuous Integration allows developers to run tests automatically every time code is pushed to source control. We will look at the different tests that a Continuous Integration server can run. How to create a build script so it runs the tests and make sure it produces the needed reports. Finally, how to set up Jenkins to run the build and display the reports.

Veröffentlicht in: Technologie
  • This whitepaper explains how we built a continuous testing framework for one of our high value enterprise clients and the challenges we faced along with the solutions we created to overcome those challenges. http://bit.ly/2FTSWT2
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

Introduction to Continuous Integration with Jenkins

  1. 1. Introduction To Continuous Integration With Jenkins Sunshine PHP 2015 Eric Hogue @ehogue erichogue.ca 1
  2. 2. Wikipedia the practice, in software engineering, of merging all developer working copies with a shared mainline several times a day http://en.wikipedia.org/wiki/Continuous_integration 2
  3. 3. Automated Build 3
  4. 4. 4
  5. 5. Self Testing 5
  6. 6. Fast 6
  7. 7. Continuous Integration 7
  8. 8. 8 CI Tools
  9. 9. 9
  10. 10. 10
  11. 11. Builder 11
  12. 12. Build Results 12
  13. 13. Reports 13
  14. 14. Reports 14
  15. 15. Trends 15
  16. 16. Plugins 16
  17. 17. Chuck Norris 17
  18. 18. Ready 18
  19. 19. Demo Project https://github.com/EricHogue/CIPresentation 19
  20. 20. 20
  21. 21. 21 http://192.168.56.101:8080/
  22. 22. 22
  23. 23. 23
  24. 24. 24
  25. 25. Plugins ● Git ● Phing ● Green Balls ● ChuckNorris 25
  26. 26. 26
  27. 27. 27
  28. 28. 28
  29. 29. Code Location 29
  30. 30. When to Build 30
  31. 31. Build Tools 31
  32. 32. Phing 32
  33. 33. How to Build 33
  34. 34. How to Build 34
  35. 35. 35
  36. 36. PHP Tools 36
  37. 37. Dynamic Tests 37
  38. 38. 38
  39. 39. 39
  40. 40. Failed Build 40
  41. 41. Publish PHPUnit Report 41
  42. 42. Publish PHPUnit Report 42
  43. 43. 43
  44. 44. 44
  45. 45. Publish Code Coverage 45
  46. 46. 46
  47. 47. 47
  48. 48. 48
  49. 49. Static Tests 49
  50. 50. PHP_CodeSniffer 50
  51. 51. Publish Checkstyle results 51
  52. 52. 52
  53. 53. 53
  54. 54. 54
  55. 55. PHP Depend 55
  56. 56. Publish JDepend 56
  57. 57. 57
  58. 58. Classes 58
  59. 59. Coupling 59 Afferent Coupling Efferent Coupling
  60. 60. Abstractness AC / TC 60
  61. 61. Instability Ce / (Ce + Ca) 61
  62. 62. Distance Idealized line → A + I = 1 62
  63. 63. Abstraction Instability Chart 63
  64. 64. Overview Pyramid - Inheritance 64 Average Number of Derived Classes Average Hierarchy Height
  65. 65. Overview Pyramid - Size And Complexity 65
  66. 66. 66
  67. 67. Overview Pyramid - Size And Complexity 67
  68. 68. Overview Pyramid - Coupling 68
  69. 69. 69
  70. 70. PHP Mess Detector 70
  71. 71. Rulessets 71
  72. 72. Publish PMD 72
  73. 73. 73
  74. 74. 74
  75. 75. 75
  76. 76. PHP Copy Paste Detector 76
  77. 77. Publish Duplicate Code Analysis 77
  78. 78. 78
  79. 79. Violations 79
  80. 80. 80
  81. 81. 81
  82. 82. 82
  83. 83. 83
  84. 84. Email Notifications 84
  85. 85. 85
  86. 86. More Notifications 86
  87. 87. 87
  88. 88. Benefits 88
  89. 89. Quick Feedback 89
  90. 90. Metrics 90
  91. 91. Automation 91
  92. 92. Confidence 92
  93. 93. https://github.com/EricHogue/CIPresentation Comments: https://joind.in/13462 twitter: @ehogue PHP Mentoring: http://phpmentoring.org/ 93
  94. 94. ● TrafficJam.jpg - Thomanication - https://www.flickr.com/photos/thomanication/6216702247 ● is_it_worth_the_time.png - xkcd - http://xkcd.com/1205/ ● LionSelfie.jpg - Silke Remmery - https://www.flickr.com/photos/silkeremmery/15856169578/in/faves-96579472@N07/ ● RacingDownTheRunway.jpg - Philipp Lücke - https://www.flickr.com/photos/philippluecke/6993495094/in/faves-96579472@N07/ ● PreciousTreasure.jpg - Dave Sutherland - https://www.flickr.com/photos/raptortheangel/12786162594/in/faves-96579472@N07/ ● ComputerBug.jpg - Brendan Dolan-Gavitt - https://www.flickr.com/photos/moyix/2352619003/in/faves-96579472@N07/ ● CatchItIfYouCan.jpg - Tim Mowrer - https://www.flickr.com/photos/mekin/281791343/in/faves-96579472@N07/ ● CILights.jpg - Jan Krutisch - https://www.flickr.com/photos/jankrutisch/4272142306/in/photostream/ ● ConductorFrederikMagleConductingASymphonyOrchestra10.jpg - Frederik Magle Music - https://www.flickr. com/photos/frederikmagle/7026769687/in/photostream/ ● Ready.jpg - amanda tipton - https://www.flickr.com/photos/demandaj/6789626120 ● StaticWallpaper.jpg - James Spinks - https://www.flickr.com/photos/realjimbob/13270099 ● DynamicEarthCME.jpg - NASA Goddard Space Flight Center - https://www.flickr.com/photos/gsfc/7402440272 ● Containers.jpg - www.GlynLowe.comhttps://www.flickr.com/photos/batega/2056949264 - https://www.flickr. com/photos/glynlowe/10921733615 ● MetricMania.jpg - Josep Ma. Rosell - https://www.flickr.com/photos/batega/2056949264 ● CheaperByTheYard.jpg - Bill Smith - https://www.flickr.com/photos/byzantiumbooks/16173360807 ● IHateWhenSomeoneLeavesaMessintheBathroom.jpg - e_monk - https://www.flickr.com/photos/e_monk/5931790591 ● FadeToGrey.jpg - Andreas Levers - https://www.flickr.com/photos/96dpi/2571056264 ● LCConversion.jpg - Ginny - https://www.flickr.com/photos/ginnerobot/2548843369 ● NotSoMiniBoot.jpg - Eric E Castro - https://www.flickr.com/photos/ecastro/6195349092 ● LEGOShip.jpg - Andrey Belenko - https://www.flickr.com/photos/belenko/4295897526 ● GrungeWarningSignDoNotReadThisSign.jpg - Nicolas Raymond - https://www.flickr.com/photos/80497449@N04/7417352980 ● Notifications.jpg - Ben Schumin - http://www.flickr.com/photos/schuminweb/9806474636/ ● MoreBrokenWindows.jpg - brainflakes. - https://www.flickr.com/photos/brainflakes/2763231289 ● Fragile.jpg - Eye - the world through my I - https://www.flickr.com/photos/ccpixel/ ● BalancingAct.jpg - Colin Harris ADE - https://www.flickr.com/photos/classblog/5136926303 ● Escalator.jpg - Adam Lederer - https://www.flickr.com/photos/elmada/2466685791 ● ZombieWeb.jpg - GollyGforce - Living My Worst Nightmare - https://www.flickr.com/photos/see-through-the-eye-of-g/8218600295 ● LegoMicroTrophy.jpg - David Luders - https://www.flickr.com/photos/42988571@N08/15965163069 ● GearWork2.jpg - Curious Expeditions - https://www.flickr.com/photos/curiousexpeditions/489992128 ● BobTheBuilder.jpg - clement127 - https://www.flickr.com/photos/clement127/15943249419 ● RulesRulesRules.jpg - Ricardo Liberato - https://www.flickr.com/photos/liberato/2292651755 94

×