Continuing on from Episode 10 , I review the additional tests I wrote and the bugs found in writing those tests before adding a final piece of flourish to the plugin.
This episode reviews some of the more interesting bugs I found while adding additional test cases.
To make navigating the Jenkins instance easier, we add a small visual feature that allows us to provide a custom icon for each folder as well as documenting the Apache TLP to which each folder belongs.
If you are interested in examining the end product of this series, you can look at the GitHub code snapshot as of the end of this video.
This concludes the coding parts of this series. Before requesting installation of the plugin on the Apache Jenkins I made some final improvements:
Applied some final polish to the code
Added Apache License Version 2 headers
Added Javadoc comments to most methods
Added Help files
Added a default icon for the folder type.
Optimized some event handling code
The end-product is captured in this GitHub code snapshot .
The final episode in this series will break with the existing format and be a retrospective discussion with a number of stakeholders.
Stephen Connolly is a member of the engineering team at CloudBees. He has over 20 years experience in software development. He is involved in a number of open source projects, including Jenkins and Apache. Stephen was one of the first non-Sun committers to the Jenkins project and developed the weather icons. Stephen lives in Dublin, Ireland - where the weather icons are particularly useful. Follow Stephen on Twitter and on his blog .
Check out the entire series:
Stay up to date
We'll never share your email address and you can opt out at any time, we promise.