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 »Home »
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 »Microservices adventures: Ignoring platform complexity
I think there is a common misconception about microservices out there. The popular opinion is that microservices supposed to be the cure for all of our problems. However, I say that by themselves, they can only cure half of them. To cure the other half, you are supposed to combine microservices with the latest DevBizSecDbaQaOps practices and transform your company ...
Read More »