Fixed it.. so thanks.
On Monday, December 1, 2014 2:58:06 PM UTC-8, GeekBad wrote:
>
> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/1091f15c-c5c3-446f-846d-fed66558bdf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.