Parameterizing builds

1 hour
  • 2 Learning Objectives

About this Hands-on Lab

In this activity we will build a project that requires parameters. We will be taking one of the projects that we previously have created and updating it to accept a string parameter. This is important to understand as it is one method used to inject a build time variable into a project.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create the webdev folder and index freestyle project

On the dash board create a new item named webdev make it a folder.

Inside of webdev make a freestyle project named index.

Configure the index project to accept the name Steve

In the index project click this build requires parameters.

Add a string parameter called name, the value should be steve

Add the git repo

add the maven server M3

add the shell command to make the bin/makeindex

Make a post build action to archive the artifact.

check the artifat to ensure that it says hello steve.

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?