you may use the regex in your maven command e.g. clean test -DsuiteXmlFile=${suiteXmlFile} , then add a choice parameter in jenkins job.