Skip to main content

Conditional Build Params

This tutorial explains how to prompt for build parameters when run a job, and demonstrates how to show one parameter conditionally based on value of other parameters.

Assumed Scenario

Prompt for Platform and Kernel Version when manually trigger a build. Kernel Version should be displayed only when Platform is specified as Linux

Build Set Up

  1. Edit build spec to add param Platform for desired job like below:

    Build Conditional Param Platform

  2. Continue to add param Kernel Version like below:

    Build Conditional Param Kernel