《Jenkins权威指南》笔记

  1. 云栖社区>
  2. 博客>
  3. 正文

《Jenkins权威指南》笔记

sktj 2018-05-16 10:32:00 浏览867
展开阅读全文

1、Jenkins的启动参数:

java -jar jenkins.war --httpPort=8081

java -jar jenkins.war --httpPort=8081 --ajp13Port=8010


img_c57ba31e5925e8e7f00e579cc4cbb774.png
img_0ee943d17d2bcbaab4328052b23f9ed3.png
img_bc66ffa738ae70c30f0e053ec79ff393.png
img_eb1391948e8e4cad73c72c49f6a9489c.png


远程构建触发:


img_bec3c546a5703c0111e177748befd2a9.png

Jenkins +svn

Jenkins +git


img_360b35c2cc6875685f6f0e1d523555c1.png

远程触发构建


img_13e16e28d79ea07bb0867e7f34d15160.png


img_2cf04ba14612585fa246f34ca875e368.png
img_c0b1b8cf35a484f9484f681397454631.png

MAVEN

ANT

shell

Windows shell

系统变量:BUILD_NUMBER  BUILD_ID  JOB_NAME BUILD_TAG 


img_85e78590fa19ab07a24ce35056a2a37c.png

JAVA_HOME WORKSPACE HUDSON_URL JOB_URL BUILD_URL


img_8e13e2e46aa5edeb165b1f4d0c1a0c8e.png

ANT调用环境变量


img_35b3ec1a667a3474ccd95f28275c0c3b.png

MAVEN调用环境变量


img_60bca8033d1ec637abaec6ee724d55bb.png

Jenkins +JUnit

归档构建产物


img_4746ccb1e65e44ec5886bd09f10aebce.png
img_f54de843406b860be51b20b64ff3e135.png

归档的构建产物的地址:


img_c0f10d1dc13ee3824b7475b3a27490fd.png
img_6dc9bf588fc9ebb2444379df4d16d4f7.png
img_509fcfb3833c13dbe431784fbcbfde2e.png

Jenkins +JUnit

Jenkins +Cobertura

ANT集成Cobertura


img_4792b77c1bb052649de97ee3ca384dcf.png

Jenkins +JMeter


img_244504f588f9a2c61952850178958f5e.png

Jenkins +审计JobConfigHistory

电子邮件通知


img_3d003f25cc2dfe25618b49a7ff84b6ac.png
img_d5ca1d6442d6bcb468887c7f0c37f389.png

Jenkins+钉钉

Jenkins +Checkstyle

Jenkins +Violations


img_da4b818fc8c1556aa40c6a90912607bf.png

Jenkins +Coverage Complexity Scatter Plot

Jenkins +Sonar

Jenkins +部署

Jenkins +Disk Usage磁盘空间插件

Jenkins +Thin Backup备份

网友评论

登录后评论
0/500
评论
sktj
+ 关注