How to specify the trust permissions for a GitHub project on a Jenkins Multibranch pipeline, when using Job DSL.
Building a Multibranch Pipeline on a Schedule (2 mins read).
A more convenient solution for setting up periodic rebuilds of certain branches in a Jenkins Multibranch pipelines.
Disabling a Multibranch Pipeline using Job DSL (1 mins read).
How to disable all branches of a
MultibranchWorkflowJob with Jenkins Job DSL.
Recommended read: Jenkins Pipeline Environment Variables - The Definitive Guide https://e.printstacktrace.blog/jenkins-pipeline-environment-variables-the-definitive-guide/
Setting up a Test Environment for Job DSL Projects (6 mins read).
How to tweak your Job DSL configuration to allow working with test environments, to validate jobs configure correctly.
Better Chef Reporting for Automated Pipelines (1 mins read).
How to get better machine-parseable reports for your Chef Pipelines.
Ensuring Consistent Code Style with Job DSL Repos (3 mins read).
How to make sure that your Job DSL configuration repos are managed with consistent code style.
Determining the (Git) Branch of the Jenkins Pipeline Job (1 mins read).
How to find out what branch the currently executing script has been checked out from.
Hey you, #Jenkins folks! If you're still configuring things in the UI / using
Jenkinsfiles but haven't yet gotten around to looking into #JobDSL I've got you covered https://www.jvt.me/posts/2021/02/23/getting-started-jobdsl-standardised/
A worked example of how to use Jenkins Job DSL to set up a standardised pipeline for Java libraries.
How to fix
git rev-parse suddenly not working after a Jenkins Git plugin update.
Recommended read: How to stop an unstoppable zombie job on Jenkins without restarting the server? - Stack Overflow https://stackoverflow.com/questions/14456592/how-to-stop-an-unstoppable-zombie-job-on-jenkins-without-restarting-the-server/38481808#38481808
Inheriting the Proxy from the Jenkins Host in Docker (1 mins read).
How to pass proxy variables from your Jenkins host to your Docker containers.
How to pass environment variables from your Jenkins host to your Docker containers.
How to stop Jenkins unnecessarily kicking off builds on Multibranch pipelines when indexing the branches.
How to set up a Multibranch Pipeline to use an external Git repo for running your Jenkins script.
Viewing Jenkins Jobs' Configuration as XML (1 mins read).
How to view the XML configuration for a given Jenkins job.