newbie question - Using a parameterized build, can I use values defined in my build flow DSL

13 views
Skip to first unread message

letstestthis

unread,
Sep 28, 2015, 3:10:12 PM9/28/15
to Jenkins Users
Hi

In a sample build, I have this in the flow dsl 

def env = "test"

I have Trigger parameterized build set up and for the predefined parameters, I would like to use env, how would I use it for that step. 

I tried env=${env} which did not work. Is there another way I can access that value? 

Thanks

Reply all
Reply to author
Forward
0 new messages