for (JobProperty property : project.getProperties().values()) {
if (property instanceof ParametersDefinitionProperty) {
ParametersDefinitionProperty pdp = (ParametersDefinitionProperty) property;
for (String propertyName : pdp.getParameterDefinitionNames()) {
if (url.contains(propertyName)) {
<BUG>ParameterDefinition pd = pdp.getParameterDefinition(propertyName);
String replacement = String.valueOf(pd.getDefaultParameterValue().createVariableResolver(null).resolve(propertyName));

returnURL = returnURL.replace("${" + propertyName + "}", replacement);</BUG>
returnURL = returnURL.replace("$" + propertyName, replacement);

for (JobProperty property : project.getProperties().values()) {
if (property instanceof ParametersDefinitionProperty) {
ParametersDefinitionProperty pdp = (ParametersDefinitionProperty) property;
for (String propertyName : pdp.getParameterDefinitionNames()) {
if (url.contains(propertyName)) {
ParameterDefinition pd = pdp.getParameterDefinition(propertyName);
ParameterValue pv = pd.getDefaultParameterValue();
String replacement = "";
if (pv != null) {
replacement = String.valueOf(pv.createVariableResolver(null).resolve(propertyName));
