Create a freestyle job with one build step.
If you are running Jenkins on a Windows system:
Execute Windows batch command build step@echo off
@echo VERSION_NUMBER = %VERSION_NUMBER%
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 "VERSION_NUMBER = $VERSION_NUMBER"
Follow this link for more details on MacOS, Linux, and Docker