官方文档参照:https://wiki.jenkins-ci.org/display/JENKINS/Extend+Jenkins
General Contribution
Want to help but don't know what to do? You can help to extend and enrich the Jenkins community even if you don't necessarily write code. Here is Beginners Guide to Contributing(发布自己的Jenkins插件). Latest snapshots of Jenkins can be found at the official Jenkins CI server and builds of the plugins at the Buildhive CI Server
Migrate from Hudson to Jenkins
How to migrate your development environment and account from Hudson:
Developing Plugins
Jenkins supports plugins, which allow Jenkins to be extended to meet specific needs of individual projects. Read on to learn how to write a plugin, especially make sure to read how to set up your environment
- Where do you want to start?
- Plugin tutorial (第一步:准备开发环境)
- Architecture (第二步:了解Jenkins架构)
- (第三步:了解扩展点)
- Dependencies among plugins
- Hosting plugins at jenkins-ci.org
- Checking out existing plugins
- Generating skeletons
- Writing code
- Using IntelliJ IDEA plugin
- Structured Form Submission
- Making your plugin behave in distributed Jenkins
- Making your plugin behave in secured Jenkins
- Marking a new plugin version as incompatible with older versions
- Hints for plugin-development newbies
- Exposing data to the remote API
- Writing CLI commands
- Participating to the initialization
- Adding tool auto-installer
- Hyperlinks in HTML
- Writing Jelly
- Basic guide to Jelly usage in Jenkins
- Understanding Jelly Tags
- Figuring out URL binding of Stapler
- Writing Jelly views with IDE assistance
- Adding tooltips
- Writing a foldable section controlled by a checkbox
- Jelly form controls
- Jelly and XSS prevention
- Unique IDs for Repeatable Content
- AJAX with JavaScript proxy
- Groovy View instead of Jelly
- Hierarchical projects support
- XStream Persistence
- Writing unit tests
- Site Creation and Deployment
- Tips
- OEM