Skip to main content

Pipeline Jobs in Jenkins

Hands-On Lab


Photo of

Training Architect





In this lab we will go through creating and executing a Jenkins pipeline. There are two types of pipelines, declarative and scripted.

We'll be setting up a project whereby code is pulled onto Jenkins, prepared, built, and then the output artifact is saved.

We will be pulling down sample code, written in C language, and compiling it via Jenkins. The sample code is basically a popular CS course exercise for creating Mario-styled (think Nintendo) pyramids. The user provides input for the height of the pyramid. This is beyond the scope of this lab, but the compiled binary being output may not be compatible with all types of Unix systems, due to the platform that it was compiled on.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.