Building in Jenkins

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

In this lab we will be looking at creating a build in jenkins. On a prepped server we will create a simple shell build in a folder so that we get comfortable with the interface and navigating into the freestyle build type.

Once we have a build run we will check out put and verify that our build is progressing as intended.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a folder named Test

In the dashboard click on create item, from there enter "Test" at the top of the page and then click "folder" and then "ok"

Create a user test job that saves it output in a file “user_test.txt”

in the folder you created, go to new item on the left, then name the item user_test and then
click "freestyle build" and then "ok"
In the job configuration page in the build step,
click execute shell,
then in the text box type
uname -a && whoami > user_test.txt
then click save.

Then click build on the left,
Then click workspace and locate the file,
view the contets of the file by clicking view on the page.
This should result in the username ‘jenkins’

Additional Resources

Jenkins Login user: student  
              pass: OmgPassword!

the command that is needed for the shell portion of this lab is uname -a && whoami > user_test.txt

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?