Am 29.10.2014 um 13:40 schrieb niraj nandane:
> 1. I am starting build with string parameterized build . When i run
> build it will ask me value for that string parameter. Now i want to
> execute groovy script in build step which will read this passed string
> parameter . I want to create a a string type variable of same name as
> of string parameter with value entered by user at run time.
def myVariable = build.buildVariableResolver.resolve("NAME_OF_PARAM")
HTH...
Dirk
--
*Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 1596666 (Ansage) 1149
*Email*: [email protected] <mailto:[email protected]>
*Skype*: dirk.heinrichs.recommind
www.recommind.com <http://www.recommind.com>
--
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/d/optout.