Hamburger Icon
  • Labs icon Lab
  • Core Tech
Google Cloud Platform icon
Labs

DevOps Foundations: Stay on Target Using Software Builds

In this lab, you’ll practice creating software builds with Jenkins. When you’re finished, you’ll have the understanding necessary to begin validating your work with continuous integration driven by software builds.

Google Cloud Platform icon
Labs

Path Info

Rating
(56 reviews)
Level
Clock icon Beginner
Duration
Clock icon 1h 10m
Published
Clock icon Aug 22, 2024

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Get Started in the Lab Environment

    Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!

  2. Challenge

    Echo Hello World in a Software Build

    To start the lab, you'll learn the basics of the Jenkins interface, a bit about the types of builds, and will create a basic build. This build will be disconnected from any code, but will use some simple console commands to echo out some statements to the console, and demonstrating a successful build.

  3. Challenge

    Create a Pipeline Build

    In this challenge, you'll learn the basics of executing a software build using pipeline builds. Pipeline builds are the backbone of modern Jenkins, and are considered a best practice in nearly all cases, so learning them early is essential. You’ll reproduce the freestyle build in a pipeline script and then take it one step further, by executing the build, and then validating the results using the build log once again.

  4. Challenge

    Create a Build that Pulls from Version Control

    The first step of pulling code from version control is nearly indispensable, and that will be illustrated here, along with a demonstration of building a simple C# project via a pipeline build. You will create a build that pulls code from Git, and then builds it, as it would be done in a real world build.

  5. Challenge

    Create a Build with Pipeline Content from Version Control

    To finish the lab, this final challenge will illustrate how real builds are created using code and a pipeline script that are pulled from version control. You will observe the state of the repo on the host machine which will contain code and a pipeline script, and then create a build that interacts properly with the repo.

Chris B. Behrens is a writer, speaker and software developer, specializing in DevOps. He has been a developer and architect for more than twenty years focusing on small to medium size companies and the development changes they face.

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.