I have a parameterised jenkins job that is accessing my plugin. Inside plugin\'s code in java, i require these parameters using which i have to trigger another job in jenkins. I
To the best of my knowledge, Jenkins parameters are exposed as environment variables. However, if you use a build system like Maven that launches Java sub-processes, those variables might not be inherited.
Probably your most reliable approach is to explicitly pass parameters as system properties in your Jenkins configuration, eg -DREPOS=${REPOS}