Continues Integration        Development           Reporter : PRADA HsiungAplix Confidential and Restricted   Copyright 20...
OutlineAplix Confidential and Restricted   Copyright 2009 Aplix Corporation. All rights reserved.
What’s CI?                What’s the Quality of software?Aplix Confidential and Restricted   Copyright 2009 Aplix Corporat...
The Joel Test     有用原始碼控制系統?        SVN     能一步驟建出所有結果? Makefile     有每天都重新編譯建立(daily builds)?     Jenkins     有問題追蹤資料庫(bu...
The Step for Develop a Software                        Version                        Control                             ...
What’s thing Jenkins do?                    Version                    Control                            ConfigPlanning  ...
Problem 1         Always Worst a lot of time for         everybodyAplix Confidential and Restricted   Copyright 2009 Aplix...
Before ..      GameDB..                                                                                                  E...
Worst Case.                                                                                     GameDB..      JJ>TT:麻煩buil...
After ..      GameDB..      JJ >Jenkins: 開始工作吧.      Jenkins>JJ: 環境已替您準備好了      JJ >BB : 開始測吧      (Past 30 mins)      BB ...
Conclusion                                                                   Summary                     GameDB..         ...
Conclusion                                                                   Summary    GameDB Worst Case        Member Co...
Conclusion                                                                   Summary                     Emulator..       ...
Problem 2                             The Magic MachineAplix Confidential and Restricted   Copyright 2009 Aplix Corporatio...
Before ..                                                                                                你電腦有毒吧?          ...
After ..Aplix Confidential and Restricted   Copyright 2009 Aplix Corporation. All rights reserved.
Conclusion                                                                   Summary                      Jenkins環境純淨,保證產出...
Problem 3           People Always Make MistakeAplix Confidential and Restricted   Copyright 2009 Aplix Corporation. All ri...
Before ..                                                                                    有人亂改我的code              我忘記加一...
After ..Aplix Confidential and Restricted   Copyright 2009 Aplix Corporation. All rights reserved.
Conclusion                                                                   Summary             Jenkins 保證SVN的Code一定可用,且始...
Why Jenkins?                                    Hint..    Jenkins並非萬能,主要用    來改善程式碼編寫的習慣,    以達到高品質軟體,請聽眾    不要過分幻想。Aplix ...
Why Jenkins?                Benefit     Easy to use:       java –jar jenkins.war     Fashion :The web UI     Easy to up...
Flowchart         Checkout         Run Test Case         Build Project         Collect Report         Deploy         ...
CI Env.                                                           SVN                                         RD          ...
Conclusion                                                         Conclusion                       方便,是為了花更多時間作更有意義的事情   ...
ReferenceAplix Confidential and Restricted   Copyright 2009 Aplix Corporation. All rights reserved.
Upcoming SlideShare
Loading in …5
×

Continues integration development

358 views
302 views

Published on

promote the CI System(Jenkins) for staff.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
358
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Continues integration development

  1. 1. Continues Integration Development Reporter : PRADA HsiungAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  2. 2. OutlineAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  3. 3. What’s CI? What’s the Quality of software?Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  4. 4. The Joel Test 有用原始碼控制系統? SVN 能一步驟建出所有結果? Makefile 有每天都重新編譯建立(daily builds)? Jenkins 有問題追蹤資料庫(bug database)? JIRA 你會先把問題都修好之後才寫新的程式? 有最新的時程表? 有規格書? CORAL 程式人員有沒有安靜的工作環境? 用市面上最好的工具? 有測試人員? 在面試時要求面試對象寫程式? 有做走廊使用性(hallway usability)測試?Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  5. 5. The Step for Develop a Software Version Control Config Planning Coding Build Test Publish Issue Compile TrackAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  6. 6. What’s thing Jenkins do? Version Control ConfigPlanning Coding Build Test Publish Issue Compile TrackAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  7. 7. Problem 1 Always Worst a lot of time for everybodyAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  8. 8. Before .. GameDB.. EmulatorJJ>TT :麻煩build一版新的warTT >GG:幫我把war放到server(過了十分鐘):弄好了 JJ -> AA: give me the newest gamedbTT >JJ:GG>TT弄好了 bundle emulatorJJ>BB :開始測吧 (past 30 min)(過了三十分鐘) AA-> JJ : give you a emulator.rar onBB>JJ:Done. LAIN JJ -> RR : 去angus的LAIN抓最新的來 測試ISSUE-5786 (過了十分鐘) RR-> JJ : OK, it’s workAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  9. 9. Worst Case. GameDB.. JJ>TT:麻煩build最新的war TT >GG:幫我把war放到server (過了十分鐘) (過了十分鐘) GG>TT:弄好了 BB >JJ:有問題 TT >JJ:弄好了 JJ>TT:有問題,快修 JJ>BB:開始測吧 (過了十分鐘) (過了十分鐘) TT >GG:剛資料庫連錯,再幫放一次 BB >JJ:有問題 (過了十分鐘) JJ>TT:有問題,快修 GG>TT:弄好了 (過了十分鐘) TT >JJ:弄好了 TT >GG:build錯版本了,再幫忙放一次 JJ>BB:開始測吧 (過了十分鐘) BB >JJ:不行,我要回家吃飯了. GG>TT:弄好了 TT >JJ:弄好了 JJ>BB:開始測吧Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  10. 10. After .. GameDB.. JJ >Jenkins: 開始工作吧. Jenkins>JJ: 環境已替您準備好了 JJ >BB : 開始測吧 (Past 30 mins) BB >JJ: it’s work Emulator JJ -> Jenkins : 夥計開工了 Jenkins -> RR : 模擬器替您準備好了 (過了十分鐘) RR -> JJ : OK, it’s workAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  11. 11. Conclusion Summary GameDB.. Member Counting Total Member Counting Total JJ 2m + 5m 7m JJ 2m + 5m + 5m 12m TT 0m TT 10m + 5m + 5m 20m GG 0m GG 10m + 5m 15m BB 30m + 5 m 35m BB 30m + 5 m 35m Jenkins 10m + 10 m 20mAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  12. 12. Conclusion Summary GameDB Worst Case Member Counting Total Member Counting Tota JJ 2+5+5+5 17m JJ 2+5+5 12m TT 5+10+5+5+10+5+5 60m TT 5+10+5+10 20m +10+5 GG 0m GG 5+10+5+10+5+10 45m BB 5+30+5+30+5+30 105 BB 5+30+5+30+5+30 105m Jenkins 10+10+10+10+10+ 60m 10Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  13. 13. Conclusion Summary Emulator.. 57min62min Member Counting Total Member Counting Total JJ 2m + 5m + 5m 12m JJ 2m + 5m 12m AA 30m + 5m 35m AA 0m RR 10m + 5m 15m RR 10m + 5m 15m Jenkins 30m 30mAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  14. 14. Problem 2 The Magic MachineAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  15. 15. Before .. 你電腦有毒吧? 在我電腦就可以 你少裝一個lib啦 工具的版本錯了阿 你設定寫錯了好嗎 環境設定寫錯了 這兩個版本不相容 昨天明明會動的啊! 在我的機器明明就可以動啊! 怎麼可能! 一定是你的資料有問題 這一定是機器的問題Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  16. 16. After ..Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  17. 17. Conclusion Summary Jenkins環境純淨,保證產出的程式能安全使用Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  18. 18. Problem 3 People Always Make MistakeAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  19. 19. Before .. 有人亂改我的code 我忘記加一個參數 少commit一個檔案 我拿到舊的code 資料庫位置錯了 檔案不是最新的! 我少做了一步驟 忘記拿掉那個PluginAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  20. 20. After ..Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  21. 21. Conclusion Summary Jenkins 保證SVN的Code一定可用,且始終如一Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  22. 22. Why Jenkins? Hint.. Jenkins並非萬能,主要用 來改善程式碼編寫的習慣, 以達到高品質軟體,請聽眾 不要過分幻想。Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  23. 23. Why Jenkins? Benefit Easy to use: java –jar jenkins.war Fashion :The web UI Easy to update Easy to extend new feature(over 1000 Plugin) Mobile support Easy to scale out Aplix Confidential and Restrictedhttps://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-ListViewcolumnplugins Copyright 2009 Aplix Corporation. All rights reserved.
  24. 24. Flowchart Checkout Run Test Case Build Project Collect Report Deploy Tag JIRA Version Tag SVN version Send E-mailAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  25. 25. CI Env. SVN RD SVN SVN Windows Linux Jenkins JIRA QA Windows Test Prod. ICT Server Server Server ManagerAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  26. 26. Conclusion Conclusion 方便,是為了花更多時間作更有意義的事情 …PRADA HsiungAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
  27. 27. ReferenceAplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.

×