When using a label to group slaves, is there a global token that tells which actual slave the job landed on?
Dick Ginga, Informatics R&D
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL
HEALTH
940 Winter Street, Waltham MA 02451
dick.ginga@perkinelmer.com
Mobile – 508-847-1434
Office – 781-663-6947
Sorry folks, I just found it and it is NODE_NAME. J
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4F00E3%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.
Thanks, Slide.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeQTQ86pNcwYSqL4m3O5vVg1D7qCt_gONKcsJCY1siY6w%40mail.gmail.com.
Slide, actually I will be using this in mostly Build Flow projects, can I get this name from a “build” field like build.number?
From: Ginga, Dick
Sent: Tuesday, February 03, 2015 4:39 PM
To: jenkins...@googlegroups.com
Subject: RE: Is there a token for build node (slave)
Thanks, Slide.
From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of Slide
Sent: Tuesday, February 03, 2015 4:37 PM
To: jenkins...@googlegroups.com
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeQTQ86pNcwYSqL4m3O5vVg1D7qCt_gONKcsJCY1siY6w%40mail.gmail.com.
Sorry again folks, just found the getBuiltOnStr method.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4F010B%40AMERMBX02.PERKINELMER.NET.
Isn't it just whether env-inject is installed that breaks this?
On 03.02.2015, at 22:37, Slide <slide...@gmail.com> wrote:
> Be careful with this, if your stuff ends up running on master, it may or may not be set...it was fixed at one point and then got broken again. I don't know the current status.
>
> On Tue Feb 03 2015 at 2:35:40 PM Ginga, Dick <Dick....@perkinelmer.com> wrote:
> Sorry folks, I just found it and it is NODE_NAME. J
>
>
>
> From: Ginga, Dick
> Sent: Tuesday, February 03, 2015 4:22 PM
> To: jenkinsci-users@googlegroups.com
> Subject: Is there a token for build node (slave)
>
>
>
> When using a label to group slaves, is there a global token that tells which actual slave the job landed on?
>
>
>
> Dick Ginga, Informatics R&D
>
> PerkinElmer Inc. | For the Better
> HUMAN HEALTH | ENVIRONMENTAL HEALTH
> 940 Winter Street, Waltham MA 02451
>
>
>
> dick....@perkinelmer.com
>
> Mobile – 508-847-1434
>
> Office – 781-663-6947
>
>
>
>
> --
> 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+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4F00E3%40AMERMBX02.PERKINELMER.NET.
> 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+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeQTQ86pNcwYSqL4m3O5vVg1D7qCt_gONKcsJCY1siY6w%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3ACA943D-0E68-4750-A44C-374416B067B3%40beckweb.net.
There it is: https://issues.jenkins-ci.org/browse/JENKINS-19222
On 03.02.2015, at 23:33, Slide <slide...@gmail.com> wrote:
> I'm not sure, I hadn't looked into it. I just check in my scripts if NODE_NAME is empty and if so, assume master.
>
> On Tue Feb 03 2015 at 3:32:28 PM Daniel Beck <m...@beckweb.net> wrote:
> Isn't it just whether env-inject is installed that breaks this?
>
> On 03.02.2015, at 22:37, Slide <slide...@gmail.com> wrote:
>
> > Be careful with this, if your stuff ends up running on master, it may or may not be set...it was fixed at one point and then got broken again. I don't know the current status.
> >
> > On Tue Feb 03 2015 at 2:35:40 PM Ginga, Dick <Dick....@perkinelmer.com> wrote:
> > Sorry folks, I just found it and it is NODE_NAME. J
> >
> >
> >
> > From: Ginga, Dick
> > Sent: Tuesday, February 03, 2015 4:22 PM
> > To: jenkinsci-users@googlegroups.com
> > Subject: Is there a token for build node (slave)
> >
> >
> >
> > When using a label to group slaves, is there a global token that tells which actual slave the job landed on?
> >
> >
> >
> > Dick Ginga, Informatics R&D
> >
> > PerkinElmer Inc. | For the Better
> > HUMAN HEALTH | ENVIRONMENTAL HEALTH
> > 940 Winter Street, Waltham MA 02451
> >
> >
> >
> > dick....@perkinelmer.com
> >
> > Mobile – 508-847-1434
> >
> > Office – 781-663-6947
> >
> >
> >
> >
> > --
> > 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+unsubscribe@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4F00E3%40AMERMBX02.PERKINELMER.NET.
> > 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+unsubscribe@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeQTQ86pNcwYSqL4m3O5vVg1D7qCt_gONKcsJCY1siY6w%40mail.gmail.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+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3ACA943D-0E68-4750-A44C-374416B067B3%40beckweb.net.
> 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+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcxPboVYN4vypOSDyfxFjXiXoZA4P%2BBTuzHZt3K48%3DbWg%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0904D36A-B85A-472F-9838-7C78E3B925EA%40beckweb.net.