Over a million developers have joined DZone.

Watch Me Code, Episode 7 [Video]

DZone's Guide to

Watch Me Code, Episode 7 [Video]

This coding video continues the series by starting to focus on writing the implementation for the pipeline we have been developing so far.

· 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.

What do software engineers hate? Parsing strings into dates and scraping HTML!

After the setting up our classpath in Episode 6 of "Watch Me Code," we start to tackle writing the implementation...

This time we start by extracting the last modified timestamp of a branch or tag by HTML scraping a gitweb commit view page and parsing the text date. As expected, we don't exactly get the right element first time. We have fun finding the correct format for the date parser... oh and we write a test with incorrect test data!

If you are interested in examining my work so far, you can look at the GitHub code snapshot as of the end of this video.

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 ,programming ,jenkins ,pipelines

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}