Jenkins Pipeline: Conditionally Define Variables – Groovy Script

The Groovy scripting language supports conditional structures, that can be used in Jenkins pipelines. Assume that you have a parametrized Jenkins job and in a Jenkinsfile you have a variable that should be defined depending on provided parameters. Here is an example of how to conditionally define variables in a Jenkins pipeline using the Groovy […]

Install Jenkins – Ubuntu, CentOS

What is Jenkins? Jenkins is a well-known open source CI/CD (Continuous Integration and Continuous Delivery) automation server written in Java. In this tutorial i will show how to install Jenkins on Ubuntu-18.04, 16.04 and Centos-7, 6 and how to perform initial Jenkins configuration. Jenkins requires Java, so firstly it needs to install OpenJDK-8 JRE/JDK (Java […]