how to trigger jenkins scripted pipeline with variable as parameter from the other scripted pipeline
Hello @imran2908 and welcome to this community
To trigger a Jenkins scripted pipeline with a variable as a parameter from another scripted pipeline, I think you can make use of the build
step and pass the parameter value using the parameters
option.
with build steps I am able to pass the variable within the same job. But when I am trying to pass this variable as parameter to another job, its not taking the value of the parameter.