3. What’s CI?
What’s the Quality of software?
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
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. The Step for Develop a Software
Version
Control
Config
Planning Coding Build Test Publish
Issue
Compile
Track
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
6. What’s thing Jenkins do?
Version
Control
Config
Planning Coding Build Test Publish
Issue
Compile
Track
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
7. Problem 1
Always Worst a lot of time for
everybody
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
8. Before ..
GameDB..
Emulator
JJ>TT :麻煩build一版新的war
TT >GG:幫我把war放到server
(過了十分鐘)
:弄好了 JJ -> AA: give me the newest gamedb
TT >JJ:GG>TT弄好了 bundle emulator
JJ>BB :開始測吧 (past 30 min)
(過了三十分鐘) AA-> JJ : give you a emulator.rar on
BB>JJ:Done. LAIN
JJ -> RR : 去angus的LAIN抓最新的來
測試ISSUE-5786
(過了十分鐘)
RR-> JJ : OK, it’s work
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
21. Conclusion
Summary
Jenkins 保證SVN的Code一定可用,且始終如一
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
22. Why Jenkins?
Hint..
Jenkins並非萬能,主要用
來改善程式碼編寫的習慣,
以達到高品質軟體,請聽眾
不要過分幻想。
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
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 Restricted
https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-ListViewcolumnplugins
Copyright 2009 Aplix Corporation. All rights reserved.
24. Flowchart
Checkout
Run Test Case
Build Project
Collect Report
Deploy
Tag JIRA Version
Tag SVN version
Send E-mail
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
25. CI Env.
SVN RD
SVN
SVN
Windows
Linux Jenkins JIRA
QA
Windows
Test Prod. ICT
Server Server Server Manager
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.
26. Conclusion
Conclusion
方便,是為了花更多時間作更有意義的事情
…PRADA Hsiung
Aplix Confidential and Restricted Copyright 2009 Aplix Corporation. All rights reserved.