持续集成篇_08_Hudson持续集成服务器的使用(自动化编译、分析、打包、部署)

来源:互联网 发布:便携式设备恢复数据 编辑:程序博客网 时间:2024/06/06 16:44

1.创建任务




svn用户验证



验证通过


*****五颗*表示每分钟检查svn路径是否有变更,有变更就会重新构建,相当于定时器设置

Send e-mail for every unstable build:构建失败给每个人发送邮件通知


新建项目时复制项目配置参数


配置sonar代码质量分析,在发布后进行代码质量分析


勾选后,此项目会出现sonar图标


edu-common工程构建过程之sonar

sonar:sonar


构建状态


[root@yxq maven-3.0.5]# cd .m2
[root@yxq .m2]# ls
repository
[root@yxq .m2]# cd repository/
[root@yxq repository]# ls
antlr        asm    classworlds        commons-cli    commons-collections  commons-fileupload  commons-lang     javassist  log4j  ognl  oro
aopalliance  cglib  commons-beanutils  commons-codec  commons-digester     commons-io          commons-logging  junit      net    org   wusc
[root@yxq repository]# cd wusc
[root@yxq wusc]# ls
edu
[root@yxq wusc]# cd edu
[root@yxq edu]# ls
common  facade
[root@yxq edu]# cd common
[root@yxq common]# ls
edu-common  edu-common-config  edu-common-core  edu-common-parent  edu-common-web
[root@yxq common]# cd edu-common
[root@yxq edu-common]# ls
1.0-SNAPSHOT  maven-metadata-local.xml
[root@yxq edu-common]# cd ..
[root@yxq common]# ls
edu-common  edu-common-config  edu-common-core  edu-common-parent  edu-common-web
[root@yxq common]# ll
total 20
drwxr-xr-x 3 root root 4096 Mar 27 05:59 edu-common
drwxr-xr-x 3 root root 4096 Mar 27 05:57 edu-common-config
drwxr-xr-x 3 root root 4096 Mar 27 05:53 edu-common-core
drwxr-xr-x 3 root root 4096 Mar 27 05:37 edu-common-parent
drwxr-xr-x 3 root root 4096 Mar 27 05:53 edu-common-web
[root@yxq common]# 

0 0
原创粉丝点击