jenkinsci/parameterized-trigger-plugin — pull request #62 by zeroem (2014-02-27 00:51:03+00:00)
Title: Attempt to Convert StringParameterValues to the type defined in the project

Rather than just passing StringParameterValues to the downstream job, attempt to convert them to the downstream project's defined type, easing integration with parameters that have specialized ParameterValue objects (eg. NodeLabelParameter).

The basic logic goes:

If the trigger parameter is an instance of `StringParameterValue` and the downstream parameter definition is an instance of `SimpleParameterDefinition`, replace the parameter value with:

`downstreamParameterDefintion.createValue(triggerParameterValue.value)`