The format should be like this:

BASE_BUILD=$BUILD_NUMBER
where BASE_BUILD is the variable that will be injected, and BUILD_NUMBER 
(remember about the $) is the environment variable you already have in this 
build (not necessarily a jenkins inbuilt variable, anything you have under $
BUILD_URL/injectedEnvVars/? )

W dniu niedziela, 17 sierpnia 2014 16:11:43 UTC+2 użytkownik Alex Brodov 
napisał:
>
> I've installed this plugin but the thing is that it's not recognizing the 
> properties, the properties are like an environment variables.
> Any idea?
>
> On Sunday, August 17, 2014 4:58:42 PM UTC+3, Daniel Beck wrote:
>>
>> Try Parameterized Trigger Plugin. 
>>
>> On 17.08.2014, at 15:48, Alex Brodov <alex...@gmail.com> wrote: 
>>
>> > Hi, 
>> > I have a few jobs, for example job A which is the upstream and job B 
>> which is the downstream, i've defined some properties in job A: 
>> > Build Environment -> marked the "Inject environment variables to the 
>> build process" checkbox ->  and added a few properties to the "Properties 
>> Cintent" text box such as: 
>> > HOME_DIR =  home path, and so on. 
>> > I'm trying to figure out how can i access those properties from my 
>> downstream. 
>> > Should i install some plugins? 
>> > 
>> > Thanks, 
>> > Alex 
>> > 
>> > -- 
>> > 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-use...@googlegroups.com. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>

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

Reply via email to