i found a work around for anyone looking at this. I created a new map 
object in the DSL box, set it's key to the REAL_BUILD_NUMBER and value to 
what I needed and then returned it.

On Wednesday, August 14, 2013 3:45:54 PM UTC-4, rginga wrote:
>
> I have created a parameterized build-flow job. In the DSL portion, I can 
> access the parameter value that I setup: REAL_BUILD_NUMBER as 
> params["REAL_BUILD_NUMBER"]. I call my downstream build as b = build(...). 
> I now want to set REAL_BUILD_NUMBER equal to b.build.number for use in a 
> post-build step. I cannot figure out the syntax here. 
> params["REAL_BUILD_NUMBER"] = b.build.number is syntactically correct but 
> does not change the value. params["REAL_BUILD_NUMBER"] = "a dummy string" 
> also does not change the value
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to