Proposal for JENKINS-18446

Added a job configuration parameter to specify the environment variable to check for.

Signed-off-by: Florin Hillebrand <florin.hillebrand@streamunlimited.com>