上一页 1 2 3 4 5 6 7 ··· 24 下一页
摘要: jenkins pipeline的10个最佳实践。 文章来自:http://www.ciandcd.com文中的代码来自可以从github下载: https://github.com/ciandcd 翻译自:https://www.cloudbees.com/blog/top-10-best-pra 阅读全文
posted @ 2016-07-17 15:27 iTech 阅读(25086) 评论(0) 推荐(1) 编辑
摘要: 在docker里运行jenkins server。 文章来自:http://www.ciandcd.com文中的代码来自可以从github下载: https://github.com/ciandcd 1. 安装docker 简单地理解docker是一个类似于虚拟机的容器,提供一个相对独立且与host 阅读全文
posted @ 2016-07-13 13:41 iTech 阅读(10981) 评论(0) 推荐(0) 编辑
摘要: 比较完整的实例,使用了maven打包,git tag,发通知邮件,等待用户deploy,deploy到nexus。 文章来自:http://www.ciandcd.com文中的代码来自可以从github下载: https://github.com/ciandcd 源代码和文章来自: https:// 阅读全文
posted @ 2016-07-12 15:23 iTech 阅读(4183) 评论(0) 推荐(0) 编辑
摘要: 使用plugin生成groovy脚本,或者参考已有的groovy脚本。 文章来自:http://www.ciandcd.com文中的代码来自可以从github下载: https://github.com/ciandcd 1. 使用插件来写groovy脚本 常用的功能,可以安装对应的插件,然后在pip 阅读全文
posted @ 2016-07-11 16:34 iTech 阅读(4570) 评论(0) 推荐(0) 编辑
摘要: 更复杂的pipeline实例,使用了Jenkinsfile和load。 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https://github.com/ciandcd 实例代码来自:https://github.com/jenkinsci/wor 阅读全文
posted @ 2016-07-11 16:16 iTech 阅读(3456) 评论(0) 推荐(0) 编辑
摘要: 通过multibranch类型的pipeline job使得对于多个branch的支持更加简单。只需要创建一个multibranch job,jenkins将自动地为所有的branch创建job。 文章来自:http://www.ciandcd.com文中的代码来自可以从github下载: http 阅读全文
posted @ 2016-07-11 14:52 iTech 阅读(2723) 评论(0) 推荐(0) 编辑
摘要: 推荐使用Jenkinsfile代替将groovy脚本直接写在jenkins job里。 文章来自:http://www.ciandcd.com文中的代码来自可以从github下载: https://github.com/ciandcd 推荐将pipeline的groovy脚本放到Jenkinsfil 阅读全文
posted @ 2016-07-11 13:54 iTech 阅读(5452) 评论(0) 推荐(0) 编辑
摘要: jenkins2 pipeline里groovy的高级用法。翻译自:https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md 文章来自:http://www.ciandcd.com文中的代码来自可以从github下载: 阅读全文
posted @ 2016-07-06 13:50 iTech 阅读(30062) 评论(1) 推荐(0) 编辑
摘要: 本文通过简单的pipeline的实例和详细的讲解,能够学习基本pipeline的groovy用法,然后开始实现自己的pipeline job。 翻译和修改自:https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md 文章 阅读全文
posted @ 2016-07-05 15:22 iTech 阅读(27576) 评论(0) 推荐(0) 编辑
摘要: 文章来自:http://www.ciandcd.com文中的代码来自可以从github下载: https://github.com/ciandcd 插件jobConfigHistory(https://wiki.jenkins-ci.org/display/JENKINS/JobConfigHist 阅读全文
posted @ 2016-06-30 15:01 iTech 阅读(9488) 评论(0) 推荐(0) 编辑
摘要: 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https://github.com/ciandcd jenkins插件next executions(https://wiki.jenkins-ci.org/display/JENKINS/Next+E 阅读全文
posted @ 2016-06-30 14:30 iTech 阅读(2277) 评论(0) 推荐(0) 编辑
摘要: 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https://github.com/ciandcd 安装: wget https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.4.7.zip 阅读全文
posted @ 2016-06-29 19:03 iTech 阅读(4339) 评论(0) 推荐(0) 编辑
摘要: 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https://github.com/ciandcd 本文使用jenkins自动构建基于maven的java helloworld。 jenkins server需要安装插件pipeline 和git。 阅读全文
posted @ 2016-06-29 17:23 iTech 阅读(1089) 评论(0) 推荐(0) 编辑
摘要: 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https://github.com/ciandcd 什么是jenkins2的pipeline? 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https 阅读全文
posted @ 2016-06-27 18:57 iTech 阅读(10175) 评论(0) 推荐(0) 编辑
摘要: 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https://github.com/ciandcd 根据前面的2篇文章,我们已经安装和配置好了jenkins2.0, 包括所有pipeline相关的插件。 本文来个最简单的hello pipeline来 阅读全文
posted @ 2016-06-24 14:15 iTech 阅读(1770) 评论(0) 推荐(0) 编辑
摘要: 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https://github.com/ciandcd Jenkins的安装包和插件在7个国家有20多个镜像,jenkins会自动选择最近的镜像来安装插件,但是我们还是经常会遇到问题,例如可安装插件列表里看 阅读全文
posted @ 2016-06-23 14:11 iTech 阅读(11149) 评论(0) 推荐(0) 编辑
摘要: 文章来自:http://www.ciandcd.com 文中的代码来自可以从github下载: https://github.com/ciandcd 本文将引导jenkins初学者安装和配置jenkins的测试环境。 1. 下载jenkins.war 我这里下载的是jenknins 2.7。 osb 阅读全文
posted @ 2016-06-21 15:59 iTech 阅读(5645) 评论(1) 推荐(0) 编辑
摘要: 1. 下载已经安装好的ubuntu的virtualbox的vdi 下载地址: http://www.osboxes.org/ubuntu/ ubuntu 16.04 Xenial VirtualBox (VDI) 64bit Download Size: 1.0GB, MD5: 52e08e7a0c 阅读全文
posted @ 2016-06-18 09:31 iTech 阅读(912) 评论(0) 推荐(0) 编辑
摘要: Differences between grep, pgrep, egrep, and fgrep (Linux): grep grep is an acronym that stands for "Global Regular Expressions Print". grep is a progr 阅读全文
posted @ 2016-05-27 16:26 iTech 阅读(1166) 评论(0) 推荐(0) 编辑
摘要: 分布式编译工具 gmake:alias make="/usr/bin/make -j 8" 开源分布式编译: http://fastbuild.org/docs/home.html https://github.com/distcc/distcc http://distcc.org/ https:/ 阅读全文
posted @ 2016-03-17 13:04 iTech 阅读(1716) 评论(0) 推荐(0) 编辑
摘要: 1. 进入debug模式 # perl -d ./perl_debugger.pl it prompts, DB<1> 2. 查看从第10行开始的代码。 查看函数get_pattern的代码 DB<1> l 10 10: my $pattern; DB<2> l get_pattern 11 { 1 阅读全文
posted @ 2016-03-16 19:09 iTech 阅读(1357) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.unixmen.com/how-to-install-lamp-stack-on-ubuntu-16-04/ LAMP is a combination of operating system and open-source software stack. The acr 阅读全文
posted @ 2016-03-03 12:23 iTech 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 使用OClint进行iOS项目的静态代码扫描 原文链接:http://blog.yourtion.com/static-code-analysis-ios-using-oclint.html 最近需要一个静态分析代码工具,帮助我们发布运行应用前找到代码潜在的问题。 其实对于iOS开发,我们的日常开发 阅读全文
posted @ 2016-03-03 12:03 iTech 阅读(4688) 评论(0) 推荐(0) 编辑
摘要: http://www.unixmen.com/ansible-install-configure-and-use/ Our goals is install, configure and use Ansible software in Ubuntu 14.04 x64. With this soft 阅读全文
posted @ 2016-03-02 16:11 iTech 阅读(574) 评论(0) 推荐(0) 编辑
摘要: Git 工作流程 作者: 阮一峰 日期: 2015年12月24日 Git 作为一个源码管理系统,不可避免涉及到多人协作。 协作必须有一个规范的工作流程,让大家有效地合作,使得项目井井有条地发展下去。"工作流程"在英语里,叫做"workflow"或者"flow",原意是水流,比喻项目像水流那样,顺畅、 阅读全文
posted @ 2016-02-29 12:45 iTech 阅读(883) 评论(0) 推荐(0) 编辑
摘要: 转自: http://m.oschina.net/blog/616526, 版权归原作者所有。 1 Docker与虚拟机 2 搭建过程 2.1 准备宿主系统 准备一个 CentOS 7操作系统,具体要求如下: 必须是 64 位操作系统 建议内核在 3.8 以上 通过以下命令查看您的 CentOS 内 阅读全文
posted @ 2016-02-26 13:32 iTech 阅读(31436) 评论(0) 推荐(2) 编辑
摘要: 这个cron不能执行: * * * * * /bin/echo `/bin/date +"%Y-%m-%d-%T"` >> /home/adminuser/test.txt 2>&1 需要修改为: 因为%在cron中需要被转意 */1 * * * * /bin/echo /bin/date +"\% 阅读全文
posted @ 2016-02-19 13:22 iTech 阅读(668) 评论(0) 推荐(0) 编辑
摘要: 转自: http://www.cnblogs.com/gao241/p/3190701.html, 版权归原作者所有。 本文以CentOS操作系统为例介绍Sonar的安装配置,以及如何与Jenkins进行集成,通过pmd-cpd、checkstyle、findbugs等工具对代码进行持续审查。 一、 阅读全文
posted @ 2016-02-16 14:02 iTech 阅读(8819) 评论(0) 推荐(0) 编辑
摘要: 转自: http://www.cnblogs.com/gao241/archive/2013/03/20/2971416.html, 版权归原作者。 本文将介绍如何配置jenkins,使其可以支持基于角色的项目权限管理。 由于jenkins默认的权限管理体系不支持用户组或角色的配置,因此需要安装第三 阅读全文
posted @ 2016-02-16 13:58 iTech 阅读(16562) 评论(1) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/gao241/archive/2013/04/08/3008380.html,版权归原作者所有。 Jenkins是一个非常出色的持续集成服务器,本文主要介绍在CentOS系统中Jenkins的基本安装配置方法,供参考。 一. 软件包: 1. 下载a 阅读全文
posted @ 2016-02-16 13:57 iTech 阅读(16945) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 24 下一页