博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页

2013年4月19日

摘要: Jenkins在使用Role-Based Strategy进行权限管理时,存在一些默认的Group。记录如下:(1) anonymous: 匿名用户(2) authenticated: 登录用户 阅读全文

posted @ 2013-04-19 13:55 Bruce Zhang 阅读(388) 评论(0) 推荐(0) 编辑

摘要: 标题上说CRUD,其实不太准确。我的这个插件不关注Retrieve操作,所以只研究:Create Job, Update Job, Rename Job, Delete Job1. Create(创建JOB)Jenkins Job的创建有三种方式:通过Copy已有JOB创建通过CLI命令远程创建通过Jenkins创建Job页面填写相关配置信息来创建。这三种方式的实现在hudson.model.ItemGroupMixIn中实现,源码片段如下: /** * Copies an existing {@link TopLevelItem} to a new name. * ... 阅读全文

posted @ 2013-04-19 11:03 Bruce Zhang 阅读(924) 评论(0) 推荐(0) 编辑

2013年4月18日

摘要: 由于某种原因,我有两台Jenkins服务器,一台在北京(Jenkins B),一台在上海(Jenkins S)。而且,两台服务器上的JOB和View需要保持一致。人工操作的成本太高,出错率太大。所以决定写一个插件实现。思路如下:(1)监听:监听master jenkins server上View/Job的CRUD(Create,Retrieve,Update,Delete)操作。(2)CLI:利用CLI机制,实现远程CRUD。 扩展CLI的实现,参照:https://wiki.jenkins-ci.org/display/JENKINS/Writing+CLI+commands 阅读全文

posted @ 2013-04-18 22:25 Bruce Zhang 阅读(607) 评论(0) 推荐(0) 编辑

摘要: WIKI文档参照:https://wiki.jenkins-ci.org/display/JENKINS/Defining+a+new+extension+point片段如下:Implementing extension pointsImplementing an extension point defined in a plugin is no different from implementing an extension point defined in the core. See hudson.Extension for more details.@Extensionpublic cl 阅读全文

posted @ 2013-04-18 21:58 Bruce Zhang 阅读(1565) 评论(0) 推荐(0) 编辑

2013年4月17日

摘要: 官方文档参照:https://wiki.jenkins-ci.org/display/JENKINS/ArchitectureJenkins is primarily a set of Java classes that model the concepts of a build system in a straight-forward fashion (and if you are using Jenkins, you've seen most of those already). There are classes likeProject,Build, that represent 阅读全文

posted @ 2013-04-17 12:39 Bruce Zhang 阅读(788) 评论(0) 推荐(0) 编辑

2013年4月16日

摘要: 鸡跟猪说:“我们去开餐饮店吧”。 猪说:“好的,叫什么店名呢?”。 鸡说:“火腿鸡蛋店”。 猪说:“我不开了”。当一个人要付出全部,而一个人只付出部分,两个人无法长期在一起合作,生存。当自己只付出部分,如何要求他的伙伴一起奋斗付出呢?然而问题不在于此,问题 在于鸡老喜欢下决策,并且指挥着猪去执行。所以,在制定策略,拍板决策执行的时候,是不允许鸡这样人物出现。只要这个项目对他毫无影响,他的利益与该项目 没有直接关系,我们将不考虑此种人在该项目的任何决策性意见(需要考虑的是建议性意见)。在Scrum的项目管理里,区分角色是一项重要的工作。把有兴趣关心,并无利益或价值牵扯的人,排除... 阅读全文

posted @ 2013-04-16 16:40 Bruce Zhang 阅读(781) 评论(0) 推荐(0) 编辑

摘要: 官方文档参照:https://wiki.jenkins-ci.org/display/JENKINS/Extension+pointsJenkins defines extension points, which are interfaces or abstract classes that model an aspect of a build system.Those interfaces define contracts of what need to be implemented, and Jenkins allows plugins to contributethose impleme 阅读全文

posted @ 2013-04-16 15:17 Bruce Zhang 阅读(3578) 评论(0) 推荐(0) 编辑

摘要: 官方文档参照:https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorialThis document, together with thehello-world plugin, shows you how to get started with the plugin development.What Can Plugins Do?Jenkins defines extensibility points, which are interfaces or abstract classes that model an aspect of a 阅读全文

posted @ 2013-04-16 15:11 Bruce Zhang 阅读(1534) 评论(0) 推荐(0) 编辑

摘要: 官方文档参照:https://wiki.jenkins-ci.org/display/JENKINS/Extend+JenkinsGeneral ContributionWant to help but don't know what to do? You can help to extend and enrich the Jenkinscommunityeven if you don't necessarily write code. Here isBeginners Guide to Contributing(发布自己的Jenkins插件). Latest snapshot 阅读全文

posted @ 2013-04-16 14:51 Bruce Zhang 阅读(2180) 评论(0) 推荐(0) 编辑

2013年4月15日

摘要: 官方文档参照:http://www.phabricator.com/docs/phabricator/article/Jump_Nav_User_Guide.htmlOverviewThe jump nav provides a quick way to navigate to tools and objects: just type a navigational command into the box and press return.Supported Commandshelp- Jump to this document.T- Jump to Maniphest.T123- Jump 阅读全文

posted @ 2013-04-15 18:42 Bruce Zhang 阅读(468) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页