Jenkins users meetup plugins overview

1,296 views

Published on

Quicky on the Jenkins users meetup in Paris

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,296
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Jenkins users meetup plugins overview

  1. 1. Jenkins strength : Plugins ecosystem
  2. 2. Frédéric Camblor | fcamblor@gmail.com http://fcamblor.wordpress.com | @fcamblor <ul><li>[email_address] </li></ul><ul><ul><li>Devop, Team support, App designer </li></ul></ul><ul><li>Jenkins plugins commiter </li></ul><ul><li>Curious about everything related to the Java & Web </li></ul><ul><ul><li>Ant/Maven Builds & Jenkins CI </li></ul></ul><ul><ul><li>JEE & Spring </li></ul></ul><ul><ul><li>TDD & unit testing in general </li></ul></ul><ul><ul><li>Java Portals </li></ul></ul><ul><ul><li>HTML 5 </li></ul></ul>
  3. 3. Global build stats plugin Overview <ul><li>« Give a consolidated view of your CI build results & duration » </li></ul><ul><li>Different time scales : yearly, monthly, weekly, daily, hourly </li></ul><ul><li>Filtering : Job name, node name, user name who launched the build, build results </li></ul><ul><li>Several dimensions for Y axis : build result, total build time, average build time </li></ul><ul><li>=> Charts are highly customizables ! </li></ul>
  4. 4. Global build stats plugin To go further… <ul><li>You can share your charts </li></ul><ul><ul><li>Image URL contains a UID « à la » Google </li></ul></ul><ul><ul><li>Use case : use this to display general stats on jenkins home </li></ul></ul><ul><li>Search engine </li></ul><ul><ul><li>By clicking on a chart, you will have access to builds list </li></ul></ul><ul><li>Access to global-build-stats JSON data via Jenkins REST API </li></ul><ul><ul><li>See <jenkins url>/plugin/global-build-stats/api/json?depth=2 </li></ul></ul>
  5. 5. Global build stats plugin Demo <ul><li> DEMO </li></ul>
  6. 6. Scm sync configuration plugin Overview <ul><li>« Synchronize Jenkins configuration files with a SCM » </li></ul><ul><ul><li>Everytime a configuration screen is submitted, a commit message is prompted to the user </li></ul></ul><ul><ul><li>Can be considered as a backuping / traceability tool ! </li></ul></ul><ul><li>/! Plugin still in alpha (v0.0.4) ! </li></ul><ul><ul><li>Only SVN http/https with simple authentification supported </li></ul></ul><ul><ul><li>Only a few configuration files are sync’ed </li></ul></ul><ul><ul><ul><li>Global jenkins config + job configs </li></ul></ul></ul><ul><ul><li>For the moment, only 1-way synchronization : from jenkins to the SCM </li></ul></ul>
  7. 7. Scm sync configuration plugin What’s next ? <ul><li>Fix SVN related issues </li></ul><ul><ul><li>Reproductibility is not obvious for most of the issues </li></ul></ul><ul><li>Improve supported SCMs with Git </li></ul><ul><ul><li>Should be fast thanks to maven scm api </li></ul></ul><ul><li>Revision view allowing to display configuration history and diff between them </li></ul><ul><li>Possibility to checkout latest revision of the configuration files </li></ul><ul><ul><li>We could generate & commit configuration files via maven archetypes </li></ul></ul><ul><ul><li>We could « mirror » jenkins instances (production / pre-production) </li></ul></ul>
  8. 8. Scm sync configuration plugin Demo <ul><li> DEMO </li></ul>
  9. 9. Plugin compatibility tester Overview <ul><li>« Detect backward uncompatibilities between plugins and every jenkins core versions » </li></ul><project> <parent> <groupId>org.jvnet.hudson.plugins</groupId> <artifactId>plugin</artifactId> <!-- Which version of Hudson/Jenkins is this plugin built against ? --> <version>1.339</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>global-build-stats</artifactId> <version>1.1-SNAPSHOT</version> <name>Jenkins global-build-stats plugin</name> <packaging>hpi</packaging> …
  10. 10. Plugin compatibility tester Overview <ul><li>For each [jenkins core version, latest plugin version] </li></ul><ul><ul><li>Checkout tagged plugin sources </li></ul></ul><ul><ul><li>Run compilation against current jenkins core version </li></ul></ul><ul><ul><li>Run unit tests with current jenkins core version </li></ul></ul><ul><li>Results are not yet public </li></ul><ul><ul><li>I still have to work a bit on it (jenkins hackathon, tomorrow) </li></ul></ul>
  11. 11. Plugin compatibility tester Demo <ul><li> DEMO </li></ul>
  12. 12. Questions & Answers
  13. 13. License & Copyright <ul><li>Pictures & logos belong to their respective authors/owners </li></ul><ul><li>Content under Creative Commons 2.0 </li></ul><ul><ul><li>Attribution  —  You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). </li></ul></ul><ul><ul><li>Noncommercial  —  You may not use this work for commercial purposes. </li></ul></ul><ul><ul><li>Share Alike  —  If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. </li></ul></ul><ul><li>http://creativecommons.org/licenses/by-nc-sa/2.0/ </li></ul>

×