Hi, I would like to use a custom credential per slave node. I did not found any 
way to enter a credential that is attach to a particular node only. Is this 
possible? Let's say I have 2 slave node (Slave1 and Slave2), I would like to 
write the script that request the credential with a single ID but return a 
different password based on the actual node.

The only ugly workaround is to concat the node name to the credentialID (and 
making sure the name is not full of unsupported character). And enter that 
credential with a weird name.
MyCredientalIdSlave1
MyCredentialIdSlave2

That make maintening the thing really hard and need to have slave node with 
very basic name. I don't like to rely on the item names to do thing, it break 
easily.

-- 
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/YQXPR0101MB10808BDA8D93F0761435E7C3CDBD0%40YQXPR0101MB1080.CANPRD01.PROD.OUTLOOK.COM.

Reply via email to