Empty credentials list on slave ssh configuration

254 views
Skip to first unread message

Mic

unread,
Apr 23, 2015, 3:37:34 PM4/23/15
to jenkins...@googlegroups.com
Hi,

I am using several slave nodes connected via SSH and I have several Global credentials configured (ssh, scm, ...)
With the Role Strategy Plugin I have restricted the configure permission of some slave to only certain users (Manage and Assign Roles > Slave Roles section)

For example user Homer has all the permission (configuration, connection, read, ...) for slaves with a name beginning by SAP_
But when he goes in the configure window for a slave with name SAP_, the dropdown list of credentials is empty.
This prevent him to connect the slave via ssh, because Jenkins does not found any credential and return the following error: Cannot find SSH User credentials with id: null

For now, the only workaround I found is to add the permission to configure slave for a global role called user (Manage and Assign Roles > Global Roles section).
This is not satisfying, because all users with the role user assigned to them are now able to configure every slave node.

So my question is, how to allow only certain user to configure on certain slave nodes ?







slave_conf.png
Reply all
Reply to author
Forward
0 new messages