LU04c - Sample project with Jenkins commit pipeline (1)

Internal reference: learningunits/04-3.md

Goals

  1. I can set up Jenkins.
  2. I can set up a simple pipeline for testing the setup of Jenkins.
  3. 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. Remark: What is not shown is testing the app on your local machine.

  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 02-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