Hey, 
 I am trying to pass parameters from one jenkins job to other using the 
"Parameterized Trigger Plugin" but am having troubles reading the 
parameters passed in my Junit.
Here is what i have job A passes a parameter to job B and i see that Job B 
has the right parameters being passed in "*Parameterized Builds Report*" 
but am not able to read the parameter in my java code. 
I am using Maven to build the project. 
I had tried reading through add following code 
                         <environmentVariables>
            <jenkins.special>${env.special}</jenkins.special>
       </environmentVariables>

and reading it as
String stest = System.getProperty("jenkins.special"); 

please let me know if i am doing something wrong or this can 
be achieved only by envInject plugin.


Thanks,


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/958a6b27-98f7-44c2-87e8-8179a6b9b298%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to