Hi Maxim,

Maybe I am missing something but why do you want to do this?

Could you not reference the existing variable instead of creating a custom 
variable that contains the same data?

Regards,
Jason


On Monday, 30 September 2019 02:44:46 UTC-4, Maxim Shaev wrote:
>
> > Hey, are you running on windows or linux agent?
>
> Hey, It's Linux (Ubuntu 18.04 server) agent
>
> On Mon, Sep 30, 2019 at 5:02 AM Manuel Ortiz <[email protected] 
> <javascript:>> wrote:
>
>> Hey, are you running on windows or linux agent?
>>
>>
>>
>> El domingo, 29 de septiembre de 2019, 6:10:27 (UTC-6), Maxim Shaev 
>> escribió:
>>>
>>> Hi guys, Is it possible to define a custom environment variable based on 
>>> standard?
>>> e.g.
>>> ```
>>>         <environmentvariables>
>>>           <variable name="APP_VERSION">
>>>             <value>${GO_PIPELINE_LABEL}</value>
>>>           </variable>
>>> ```
>>> That doesn't work as expected. The results:
>>> ```
>>> GO_PIPELINE_LABEL=dev-107
>>> APP_VERSION=${GO_PIPELINE_LABEL}
>>> ```
>>> If no, what's the best way to define that variable?
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "go-cd" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/464f6d6b-8f40-4c34-9e8c-dffc7129cc75%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/464f6d6b-8f40-4c34-9e8c-dffc7129cc75%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Best regards,
> Maxim Shaev
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/da5d61b6-390b-47d6-b4a7-ebd01499ac54%40googlegroups.com.

Reply via email to