Create a freestyle job with one build step.
Add a choice parameter with three or more choices.
If you are running Jenkins on a Windows system:
Execute Windows batch command build step@echo off
@echo ENVIRONMENT = %ENVIRONMENT%
Follow this link for more details on Windows
If you are running Jenkins on MacOS, Linux, or Docker:
Execute shell build step.#!/bin/bash
echo "ENVIRONMENT = $ENVIRONMENT"
Follow this link for more details on MacOS, Linux, and Docker