So, we have been using pipelines-as-code in Jenkins for a while now and we generally are using scripted pipelines, Groovy scripts that run in Jenkins. Very flexible, but it is missing something for me. While we were used to the webforms of Jenkins before pipelines, these constructs aren’t always available in scripted pipelines. Enter declarative pipelines. These are pipelines-as-code as … Lees verder How to start with declarative Jenkins pipelines
As a continuous delivery engineer I really want software teams to work fast and safe, with ease and having fun. Happy teams are productive, learning and innovative teams. Authoring pipelines is an important aspect of a safe and smooth development cycle. Every new piece of code should be tried, tested, reworked and eventually (potentially) promoted for real use. However, there … Lees verder How to reuse pipelines with Jenkins Shared Libraries
March 12th 2019 a new vendor neutral foundation was created: the CDF! CDF is founded by Cloudbees and Google. For now the project has Jenkins (including the ‘jenkins-x’ project), Spinnaker (Netflix) and Tekton (kubernetes / google) on board and many companies as founding members. It was announced as definitive at FOSDEM in februari. Some background on continuous delivery … Lees verder The CDF is here! Why a continuous delivery foundation?
Jenkins is a very neat tool to implement a continuous delivery process, mainly due to its flexibility. Sometimes it can be hard though to keep complexity low, and when that happens, (automated) tests become far more important. Jenkins should in fact be running tests that verify the scripts running tests, proving they actually work. Warning: this dog will chase its … Lees verder Jenkins shared libraries: tested
Strangling pipelines This practical example is about the strangulation pattern, as explained by Martin Fowler here, applied to pipelines. The situation Right after ditching the old manually managed Jenkins jobs, we were left with ‘simple’ but very lengthy procedural pipeline scripts. These scripts were then duplicated and slightly modified for each type of pipeline (because there’s always need for … Lees verder Strangling pipelines
For a project I wanted to add strict HTML 5 syntax checking. It is not something that is easy to do in the build since in general it requires the web application to be deployed. It is a simple Spring MVC project with Velocity templates so it is easy to make HTML mistakes, and verifying partial templates doesn’t really help. … Lees verder Extending unicorn validator for Jenkins