Optional param substitution

All parameters substitutions are optional
Resolves: https://issues.jenkins-ci.org/browse/JENKINS-19233