Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Jenkins Pipeline for Multiple Java Versions Using Matrix Feature

Szymon Stepniak via YouTube

Overview

Discover how to configure a Jenkins Pipeline matrix with multiple Java versions using Docker containers in this comprehensive tutorial video. Learn to set up a Dockerfile for SDKMAN!, create a Jenkins user, install Java and Maven, prepare environment variables, and build Docker images. Explore the process of creating a Jenkinsfile, defining a matrix with different Java versions, and setting up Build and Test stages. Follow along as the instructor demonstrates running the pipeline and provides valuable insights into Jenkins Pipeline as Code. Gain practical knowledge to enhance your continuous integration workflows and improve your Jenkins Pipeline skills.

Syllabus

| Intro
| Explaining the previous Dockerfile
| Creating Dockerfile for SDKMAN!
| Explaining how Jenkins runs the container
| Creating a jenkins user
| Installing SDKMAN
| Installing Java and Maven using SDKMAN
| Preparing PATH env variable
| Building the docker image
| Running container from the created image
| Creating Jenkinsfile
| Defining matrix with different Java versions
| Defining Build and Test stages
| Defining dockerfile agent
| Running the pipeline
| End screen

Taught by

Szymon Stepniak

Reviews

Start your review of Jenkins Pipeline for Multiple Java Versions Using Matrix Feature

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.