Jenkins Pipeline for Multiple Java Versions Using Matrix Feature
Offered By: Szymon Stepniak via YouTube
Course Description
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
Related Courses
Continuous Integration and Continuous DeploymentMicrosoft via edX Introduction to Jenkins
Linux Foundation via edX Scheduling Selenium TestNG tests via Jenkins CI/CD tool
Coursera Project Network via Coursera Set up a Continuous Integration (CI) workflow in CIrcleCI
Coursera Project Network via Coursera Jenkins : Automating your delivery pipeline
Coursera Project Network via Coursera