I'm trying to inject a variable in to a job mid-flight who triggers another 
job and waits for it, 'inject environment variables' seems to do what I 
want with the caveat being it doesn't appear to do parameter substitution.

My build step does :

build.addAction(new ParametersAction([ new StringParameterValue("SomeVar", 
"SomeValue) ] ))

And I want this to be available on a child node job, like I say, the inject 
build step works but is not able to tackle substitution, I even tried 
having the parameter action as a single server groovy script build step 
hoping when the build step had finished the env variables would have been 
updated, but doesn't seem to be the case.

So, what alternatives are they to accomplish this task?

-- 
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/1cab60e8-2acd-47fe-ad8b-67a41cd12a33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to