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

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

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.

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:

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 ,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 }}