Do you have the env-inject plugin installed?

On Wed Feb 11 2015 at 4:11:27 AM Arek Skalski <askalsk...@gmail.com> wrote:

> tested also inside
> node("node_name") {
>     print env.NODE_NAME
> }
>
> output:
>
> Started by user anonymous <http://de3lxd-102859:8080/user/null>
> Running: Allocate node : Start
> Running on computer1 in /jenkins/workspace/Groovy_Test
> Running: Allocate node : Body : Start
> Running: Print Message
> null
> Running: Allocate node : Body : End
> Running: Allocate node : End
>
>
> Running: End of Workflow
> Finished: SUCCESS
>
>
>
>
> W dniu środa, 11 lutego 2015 12:08:29 UTC+1 użytkownik Arek Skalski
> napisał:
>
>> *groovy script:*
>>
>> print env.NODE_NAME
>>
>> *output*:
>>
>> Started by user anonymous <http://de3lxd-102859:8080/user/null>
>> Running: Print Message
>> null
>> Running: End of Workflow
>> Finished: SUCCESS
>>
>>
>>  --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/22ff0de5-7b1f-461d-be3f-196298c6f119%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/22ff0de5-7b1f-461d-be3f-196298c6f119%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdWCWE4QmwEohgdn%2BRzEcBnyjnmgsoOevaO_fQ2zm_kZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to