Quantcast

How to get current slave's label value in the triggered job?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

How to get current slave's label value in the triggered job?

Garry
Hi,

I use  multi-configuration job which uses one configuration axis - "Slaves".
All slaves have labels.
Is it possible to get current slave label value in the shell scripts of the job?
So far I saw only NODE_LABELS variable which contains "Whitespace-separated list of labels that the node is assigned", but I need to get only the current one :(

Thanks,
Igor.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to get current slave's label value in the triggered job?

Gábor Garami

Tell us more details about your config. One slave can has more labels and one project can refer to more label too.

Garami Gábor
[hidden email]
Skype: hron84
Tel: +36 20 235 9621

Sent from my T-Mobile G2
Ezt a levelet telefonról adták fel, ékezethibákat tartalmazhat.

2012.10.19. 17:21, "Garry" <[hidden email]> ezt írta:
Hi,

I use  multi-configuration job which uses one configuration axis - "Slaves".
All slaves have labels.
Is it possible to get current slave label value in the shell scripts of the job?
So far I saw only NODE_LABELS variable which contains "Whitespace-separated list of labels that the node is assigned", but I need to get only the current one :(

Thanks,
Igor.

Loading...