Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

The need for DevOps innovation has never been greater. Get the results from over 100 business value assessments in this whitepaper, Digital Darwinism: Driving Digital Transformation, to see the positive impact of DevOps first hand.

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:

Interested in Kubernetes but unsure where to start? Check out this whitepaper, A Roundup of Managed Kubernetes Platforms from Codeship by Cloudbees, for an overview and comparison of Kubernetes platforms. 

Topics:
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 }}