Jenkinsプラグインの作り方

12,893 views

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
12,893
On SlideShare
0
From Embeds
0
Number of Embeds
8,543
Actions
Shares
0
Downloads
19
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Jenkinsプラグインの作り方

  1. 1. Jenkins 2011-03-02 Java2011 3 2
  2. 2. ✤ ( ) ✤ @kiy0taka id:kiy0taka ※ 0 ✤ Grails/Groovy ✤ http://www.jggug.org/ ✤ Jenkins ✤ http://build-shokunin.org/ ✤ Jenkins ✤ Terminal Plugin jQuery Plugin jQuery UI Plugin2011 3 2
  3. 3. Jenkins ✤ http://jenkins-ci.org ✤ ✤ CI ✤2011 3 2
  4. 4. Demo ✤ Jenkins ✤ ✤ ✤2011 3 2
  5. 5. 2011 3 2
  6. 6. ✤ Stapler ✤ Jenkins URL ✤ Apache Jelly ✤ jelly View ✤ Extension Point ✤ Jenkins API ✤ http://wiki.jenkins-ci.org/display/JENKINS/Extension+points2011 3 2
  7. 7. 2011 3 2
  8. 8. settings.xml (https://gist.github.com/ 850703) <settings> [...] <pluginGroups> <pluginGroup>org.jenkins-ci.tools</pluginGroup> </pluginGroups> <profiles> [...] <profile> <id>jenkins</id> <pluginRepositories> <pluginRepository> <id>m.g.o-public</id> <url>http://maven.glassfish.org/content/groups/public/</url> </pluginRepository> </pluginRepositories> <repositories> <repository> <id>m.g.o-public</id> <url>http://maven.glassfish.org/content/groups/public/</url> </repository> </repositories> </profile> </profiles> [...] </settings>2011 3 2
  9. 9. ✤ ✤ mvn hpi:create -P jenkins ✤ parent ✤ org.jenkins-ci.plugins:plugin:1.399 ✤ ✤ mvn hpi:run2011 3 2
  10. 10. ✤ Jenkins (PluginServletFilter) ✤ Twitter (Widget)2011 3 2
  11. 11. ✤ Extend Jenkins ✤ http://wiki.jenkins-ci.org/display/JENKINS/Extend+Jenkins ✤ Hudson ✤ http://d.hatena.ne.jp/wyukawa/20090605/1244210141 ✤ Source Code ✤ https://github.com/jenkinsci/2011 3 2
  12. 12. ✤ settings.xml ✤ https://gist.github.com/850703 ✤ Twitter (Widget) ✤ https://github.com/kiy0taka/widget-sample ✤ Jenkins (PluginServletFilter) ✤ https://github.com/kiy0taka/filter_sample2011 3 2
  13. 13. Q&A2011 3 2

×