Over a million developers have joined DZone.

Watch Me Code, Episode 11 [Video]

DZone's Guide to

Watch Me Code, Episode 11 [Video]

On this episode of our live coding series, we continue testing the Jenkins plugin we've built as part of a complete Jenkins pipeline.

· DevOps Zone ·
Free Resource

Is the concept of adopting a continuous everything model a daunting task for your fast moving business? Read this whitepaper to break down and understand one of the key pillars of this model in Continuous Governance: The Guardrails for Continuous Everything.

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
  • Implemented ASFGitSCMFile.lastModified()
  • 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.

Check out the entire series:

Are you looking for greater insight into your software development value stream? Check out this whitepaper: DevOps Performance: The Importance of Measuring Throughput and Stability to see how CloudBees DevOptics can give you the visibility to improve your continuous delivery process.

devops ,tutorial ,jenkins ,testing

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}