Querying Artifactory repo for latest artifact


YourAvatar-3

This is a quick write up I thought I’d do after hunting around for a simple solution (or what I thought should be a simple solution). I’ll post the code first and the story second.

This little blurb hopefully will help others. The main idea was to query artifactory’s API get the latest artifact (uniquely versioned) and parse the json into a usable URI.

READ MORE

Mastering Jenkins: Editable email notification templates [Email-EXT]


YourAvatar-2

One more widely adopted Jenkins plugin is the Email-EXT plugin provided by the generous folks within the Jenkins open source community. The Email-EXT plugin specifically allows Jenkins administrators to configure and manipulate almost every aspect of an email notification within a Jenkins job. For those interested the link for the plugin can be found [here]. The documentation on the plugin itself is quite comprehensive and it would not be wise to re-cover what’s already pretty well documented. What we will be talking about in this specific section of Mastering Jenkins is the implementation of actual notification templates. Some examples, some pitfalls and some tips that might help you make use of this plugin more rapidly. Some basic example templates (provided by the community) Buried within the documentation page for this plugin […]

READ MORE

The Rise of the Jenkins CI Butler [From SCMTechBlog.com]


YourAvatar-2

Kohsuke Kawaguchi designed and developed the Hudson automation system from the ground up while he was working at Oracle in 2006. Primitive inceptions of the Jenkins platform (then known as Hudson) simply aimed to support continuous integration practices and offer a viable replacement for CruiseControl, which was the popular CI solution at the time. The Hudson platform was initially very Java centric with tight coupling to Maven and Java development paradigms. Little did Kohsuke know that his internal Hudson tool would catapult in notoriety, change names (into Jenkins), spin off to become CloudBees and eventually become the most popular modern Continuous Integration and automation orchestration platform in use in modern history. The current Jenkins platform provides an easily consumable unified user interface coupled with a highly scalable distributed automation solution […]

READ MORE

Getting Started with Jenkins and Groovy Scripting


In this tutorial we will learn how to get started using Jenkins and the Groovy Scripting language in conjunction with Jenkins. We will discuss the steps required to get up and running quickly and learn some basic techniques we can apply to make the most out of this powerful combination. How does Jenkins integrate with Groovy? The Jenkins platform provides a built in Groovy scripting engine (version 1.8), which allows for additional extensibility of Jenkins and script execution within Jenkins.  Groovy is an object oriented programming language with features similar to Python, Ruby, Perl, and Smalltalk. It is compiled by the Java JVM directly at run time and provides interoperability with Java extensions and libraries. Because Jenkins embeds the language directly into its platform, we can extend Jenkins, create automation, and perform a number […]

READ MORE