Empty credentials list on slave ssh configuration

2015-04-23 Thread Mic
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 ?







-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0b9b31ab-7906-4a68-9b6c-3620114d8720%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: matrix project and exclusion plugin

2015-02-11 Thread Mic
To be more precise and use the right terms, the current matrix project we 
created use 2 axis, one for the slaves  and one defining the sets of builds 
to run.
The matrix looks like :

 test sets \ slaves  slave1   slave2   slave3
 SET1
 SET2
 SET3

Running any SET3  involves access/update on a database and I would like to 
prevent all configurations SET3-slaveX to run simultaneously, but keep this 
ability for the other couples.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/23ebf022-0356-4b38-9742-5a9f47fb0c31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.