Run jobs downstream with parameters

16 views
Skip to first unread message

Antonio Hernandez

unread,
May 30, 2016, 3:44:43 AM5/30/16
to Jenkins Users
Hi everyone,
I'm trying again and again how run several jobs downstream being the first one parameterized with two parameters like this:


The first parameter ENV i want to use later in a script like this:



but isn't worked...


And also i want to use the other parameter that i called BRANCH to be the branch i want to build but isn't work too. In the git plug -in i filled the field "Branch Specifier (blank for 'any')" with "%BRANCH%"



What i'm doing wrong?

Thanks in advance








Antonio Hernandez

unread,
May 30, 2016, 6:48:32 AM5/30/16
to Jenkins Users
I found the solution by myself!!
Just in case someone could find useful, the way to call a variable is ${variable}
In my case , the problem was try calling a variable %BRACH% instead of ${BRANCH}

Cheers
Reply all
Reply to author
Forward
0 new messages