I created a job( parameter build) which is running on master, In post-build action I am using Trigger parameterized build on other projects option where I am configured job2 which is running on slave machine. And I selected add parameters as current build parameters. still I am unable to use the parameter from job1. how to share the same parameters from job1 to job2.
NOTE: Parameterized Trigger plugin has been installed.
Install Parameterized Trigger plugin and in post build action select Trigger parameterized build on other projects. Mention the slave job name on Projects to build,Select Predefined parameters in Add Patameter mention the value as Build_ID=${BUILD_ID}. and go to the slave job and click on This build is parameterized Select the String parameter mention name as Build_ID and Default value as ${BUILD_ID}. now the same parameter will refer for job2 which is running on slave.