没有合适的资源?快使用搜索试试~ 我知道了~
continuous integration with hudson
5星 · 超过95%的资源 需积分: 3 29 下载量 19 浏览量
2010-09-30
15:50:52
上传
评论
收藏 6.93MB PDF 举报
温馨提示
试读
123页
类似于cruise control的集成管理平台,简单,易用,功能强大的集成管控平台。
资源推荐
资源详情
资源评论
John Ferguson Smart
Hudson
Automate your software development process
Hudson
Continuous Integration with
Copyright ..................................................................................................................... vii
Preface ......................................................................................................................... ix
1. Font Conventions ............................................................................................... ix
2. Command-line conventions ................................................................................... ix
1. Your first steps with Hudson ......................................................................................... 1
1.1. Introduction ..................................................................................................... 1
1.2. Preparing your environment ................................................................................ 1
1.2.1. Installing Java ........................................................................................ 1
1.2.2. Installing a local Subversion server ............................................................ 2
1.2.3. Setting up the sample Subversion repository ................................................ 4
1.3. Starting up Hudson ............................................................................................ 6
1.4. Configuring the tools ......................................................................................... 9
1.5. Your first Hudson build job .............................................................................. 12
1.6. Our first build job in action ............................................................................... 17
1.7. More reporting - displaying Javadocs .................................................................. 23
1.8. Adding Code Coverage and other metrics ............................................................ 25
1.9. Conclusion ..................................................................................................... 31
2. Installing Hudson ....................................................................................................... 33
2.1. Introduction .................................................................................................... 33
2.2. Downloading and Installing Hudson .................................................................... 33
2.3. Preparing a build server for Hudson .................................................................... 35
2.4. The Hudson home directory .............................................................................. 36
2.5. Installing Hudson on Debian or Ubuntu ............................................................... 37
2.6. Installing Hudson on Redhat, Fedora or CentOS .................................................... 38
2.7. Installing Hudson on SUSE or OpenSUSE ........................................................... 39
2.8. Running Hudson as a stand-alone application ....................................................... 40
2.9. Running Hudson behind an Apache server ........................................................... 43
2.10. Running Hudson on an application server ........................................................... 44
2.11. Memory considerations ................................................................................... 44
2.12. Installing Hudson as a Windows service ............................................................ 45
2.13. What's in the Hudson home directory ................................................................ 49
2.14. Backing up your Hudson data .......................................................................... 54
2.15. Upgrading your Hudson installation .................................................................. 54
2.16. Conclusion ................................................................................................... 55
3. Configuring your Hudson server ................................................................................... 57
3.1. Introduction .................................................................................................... 57
3.2. The configuration dashboard - the Manage Hudson screen ....................................... 57
3.3. Configuring the system environment ................................................................... 60
3.4. Configuring Global Properties ............................................................................ 61
3.5. Configuring your JDKs .................................................................................... 62
3.6. Configuring your build tools .............................................................................. 64
3.6.1. Maven ................................................................................................. 64
3.6.2. Ant ..................................................................................................... 66
iv
3.6.3. Shell scripting language ......................................................................... 67
3.7. Configuring your version control tools ................................................................ 67
3.7.1. Configuring Subversion .......................................................................... 67
3.7.2. Configuring CVS .................................................................................. 67
3.8. Configuring the mail server ............................................................................... 68
3.9. Configuring a proxy ......................................................................................... 69
3.10. Conclusion ................................................................................................... 70
4. Automated testing ...................................................................................................... 71
4.1. Introduction .................................................................................................... 71
4.2. Automating your unit and integration tests ........................................................... 72
4.3. Configuring test reports in Hudson ..................................................................... 72
4.4. Displaying test results ...................................................................................... 75
4.5. Ignoring Tests ................................................................................................. 79
4.6. Code Coverage ............................................................................................... 80
4.6.1. Measuring code coverage with Cobertura .................................................. 80
4.7. Automated Acceptance Tests ............................................................................. 89
4.8. Automated Performance Tests with JMeter ........................................................... 91
4.9. Help! My tests are too slow .............................................................................. 99
4.9.1. Add more hardware ............................................................................... 99
4.9.2. Run less integration/functional tests .......................................................... 99
4.9.3. Run your tests in parallel ...................................................................... 100
4.10. Conclusion .................................................................................................. 100
A. Automating your unit and integration tests ................................................................... 101
A.1. Automating your tests with Maven ................................................................... 101
A.2. Automating your tests with Ant ....................................................................... 106
Index ......................................................................................................................... 111
剩余122页未读,继续阅读
资源评论
- yeluowuhen2012-09-12很清楚的排版,书也挺不错
- 爱测试爱莲藕之家2013-10-21有用,谢谢分享!
- mianbaoquanquan2011-10-17介绍的都是比较基础的东西,更深入的东西还需要自己去研究。
- li555552014-06-24估计成为我看的第一本英文书了 章节有5章 123页
alian08
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功