Resolution
Example:
Assume that I have a downstream freestyle job named downstream-freestyle
, that contains two String parameters, named ParamA
and ParamB
.
In the upstream Pipeline job:
node { paramAValue = "paramAValue" paramBValue = "paramBValue" build job: 'downstream-freestyle', parameters: [[$class: 'StringParameterValue', name: 'ParamA', value: paramAValue], [$class: 'StringParameterValue', name: 'ParamB', value: paramBValue]] }
Reference:
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.