Sounds like a bug into declarative pipeline and the agent. I'm no declarative 
pipeline, so you may want to check the agent doc to know if the position is 
correct into the script.

> On May 9, 2017, at 7:00 PM, SamL <[email protected]> wrote:
> 
> The  label Axis is not in the Master
> 
> At the moment I have the Master and one agent
> 
> The Master has the label  'Master' and  Only build jobs with label 
> expressions matching this nose
> The Agent has the label 'Axis' and  Use this node as much as possible
> 
> 
>> On Tuesday, May 9, 2017 at 12:28:25 PM UTC-7, Jérôme Godbout wrote:
>> Because if both master and slave have the Axis labels and both are setup to 
>> be used, there's multiples option to build, the first free may be taken (in 
>> your case probably the master is taken). Maybe there's a bug into the usage (
>> 'use as much as possible' and the 'only use when labels match') but all your 
>> master/slave should be set to  'Only used this...'. So your label will 
>> define where this can be used.
>> 
>> You may want to add a label 'slave' 'master' on your node and make sure the 
>> master is not selected or remove the Axis label from your master.
>> 
>>      
>> Jerome Godbout
>> Software Developer
>> 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7
>> T:  +1 418 527-1388
>> E: [email protected]
>> www.bodycad.com
>> The contents of this email message and any attachments are intended solely 
>> for the addressee(s) and may contain confidential and/or privileged 
>> information and may be legally protected from disclosure. If you are not the 
>> intended recipient of this message or their agent, or if this message has 
>> been addressed to you in error, please immediately alert the sender by reply 
>> email and then delete this message and any attachments. If you are not the 
>> intended recipient, you are hereby notified that any use, dissemination, 
>> copying, or storage of this message or its attachments is strictly 
>> prohibited. 
>> 
>> Le contenu de ce message et les pièces jointes sont destinés uniquement pour 
>> le(s) destinataire(s) et peuvent contenir des informations confidentielles 
>> et / ou privilégiées qui peuvent être protégées légalement contre toute 
>> divulgation. Si vous n'êtes pas le destinataire de ce message ou son agent, 
>> ou si ce message vous a été adressé par erreur, s’il vous plaît avertir 
>> immédiatement l'expéditeur par courriel de réponse, puis supprimer ce 
>> message et les pièces jointes. Si vous n'êtes pas le destinataire prévu, 
>> vous êtes par la présente informé que toute utilisation, diffusion, copie, 
>> ou stockage de ce message ou de ses pièces jointes est strictement interdit.
>> 
>> 
>> On Tue, May 9, 2017 at 3:21 PM, SamL <[email protected]> wrote:
>>> Thank you very much for  the reply
>>> 
>>> The slave has the Label Axis on its configuration.
>>> Slave is already configured to be used as much as possible.
>>> 
>>> 
>>> I have put a label on the Master and configure it so then only jobs 
>>> matching the name run in it.
>>> 
>>> But sadly the results are the same.
>>> 
>>> 
>>> 
>>> 
>>>> On Tuesday, May 9, 2017 at 11:19:13 AM UTC-7, [email protected] wrote:
>>>> How is your slave labels configured?
>>>> 
>>>> If nothing match is found, I think the code run on the master. Also make 
>>>> sure the master node doesn't have the labels Axis. You also may want to 
>>>> change the usage of each node (node configuration). May want to mark your 
>>>> master to be used only when matching and your slave to be used as much as 
>>>> possible.
>>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Jenkins Users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/jenkinsci-users/B654VmMocf4/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/e641129e-ae0c-4058-87ab-8cd7b9bdf1b6%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/jenkinsci-users/B654VmMocf4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/409233b1-2055-4447-ab4e-7dc1354ca8e4%40googlegroups.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4E86DB6C-658F-4E63-8110-4EEFA06D2D4B%40bodycad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to