Home » Jenkins

Tag Archives: Jenkins

Checking for Artifactory in a Jenkins Pipeline

One of my projects uses the Artifactory as the repository manager. Unfortunately when doing a Jenkins pipeline build, I sometimes forget to ensure the Artifactory server is up first and find the job has failed after running for a while. I’ve added some script to my Jenkinsfile that will check for the Artifactory server early on and fail fast if ...

Read More »

The Perils of the Shared Jenkins and Making Decisions

You may be thinking of sharing a Jenkins server, perhaps you’re worried about: Who has the time to do admin on multiple servers?How can we be sure that we don’t open a gaping chasm (it happens) on our network making our code and test environment public?Ensuring people use a standard toolsetAvoiding the cost of multiple copies of the same services ...

Read More »

Converting Helm Charts Into Jenkins X Apps

Your cluster is bound to run quite a few third-party applications. They need to be installed and managed somehow. This article offers one possible way to install and maintain third-party applications using Jenkins X Apps. We’ll use Istio as an example of such an application and try to figure out how to convert its official Helm charts into Jenkins X ...

Read More »

Field Notes from an Ad-Hoc Jenkins Pipeline

I recently had a challenge. I have written a PR to improve an open source library, but the owners of that library haven’t merged it. I don’t really want to wait until they merge the library until I can use it, so I need to deploy my copy of it, with a modified version ID, to a private artifactory server. ...

Read More »

Accessing and dumping Jenkins credentials

Most pipelines require secrets to authenticate with some external resources.All secrets should live outside of our code repository and should be fed directly into the pipeline. Jenkins offers a credentials store where we can keep our secrets and access them in a couple of different ways. Why dump credentials Jenkins is an easy pick when it comes to intelligence gathering. ...

Read More »

Private Jenkins Shared Libraries

The official documentation for Jenkins Shared Libraries is pretty good, but not perfect. This article expands on how to use Jenkins Shared Libraries with private git repositories, semantically version, and unit test your libraries and provides working examples which you can run yourself. Short Intro Jenkins Shared Library is a handy tool when dealing with multiple similar pipelines. If you ...

Read More »

Creating a Jenkinsfile pipeline

Basics of setting up a Jenkins multibranch pipeline job and defining a Jenkinsfile. Creating Multibranch Pipeline Job If you want to follow this article but don’t have a Jenkins instance at hand you can use my GitHub project to spin up a dockerized Jenkins: git clone https://github.com/hoto/jenkinsfile-examples.git cd jenkinsfile-examples docker-compose pull docker-compose up Let’s open Jenkins by going to localhost:8080 ...

Read More »

Tools For Software Engineering Teams

The effect of poorly performing web applications echoes across various parts of the business. The more breakage there is, the more busy support teams get. There is less traction, and product teams are puzzled about user retention. Engineers are inundated with bug-fixes, leaving no time for feature development. Business stakeholders receive no insight into performance improvements. Engineering managers cannot clearly ...

Read More »