In a Jenkins pipeline, parameters defined in upstream job is not being passed to downstream job even "current build parameters" option is selected. When I try to echo the parameter value, it is null.
Example: I have checked "This is a parameterized build". There is a string parameter in upstream job called "version" with the default value as "abc". When I run echo $version on the downstream job, in console output I do not see a value being printed.
Environment info:
- Jenkins Version: 2.89.3
- O/S: CentOs 7
Jenkins installed plugin info:
- Build with Parameters: 1.4
- Parameterized Trigger plugin:2.35.2