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
Algorithms, Part IPrinceton University via Coursera Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera MongoDB for Java Developers
MongoDB University Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera Intro to Java Programming
San Jose State University via Udacity