LU04c - Sample project with Jenkins commit pipeline

Internal reference: learningunits/04-3.md

Goals

  1. I can configure Jenkins with required plugins.
  2. I can set up, configure and test a CI/CD pipeline in Jenkins for a sample app.
  3. I can retrieve and apply a CI/CD Pipeline in Jenkins as a Pipeline-Code-File.
  4. If there are any errors, I can analyze the error, suggest and test an initial workaround (troubleshooting).


Sample project Traffic Light

This sample project shows how to set up a pipeline in Jenkins for fetching the code from a repository and testing the app (in Node.js) with test cases.

Overview Steps

Overview of the steps

Steps

  1. Live-Demo: How to start and add test cases to the Traffic Light app.


Exercises

  1. Setup Jenkins 02/02_Exercises/01-Exercise.md to 05-Exercise.md - according to the learning objectives (see course repository).
  2. If there is an error, read the message carefully, think about a solution and implement it.

Daniel Garavaldi