Per Jenkins user Git credentials - restrict access to some git repo to some users

2015-11-20 Thread Francois Marot
Hi all, I need your feedback to know if my Company's requirement is compatible with Jenkins: we have many Git repositories. Some jenkins jobs need to access some git repositories. But some repositories contain source code more sensible than others, hence the need for different credentials reg

Re: Per Jenkins user Git credentials - restrict access to some git repo to some users

2015-11-20 Thread Mark Waite
I've not seen any facility which would allow you to restrict use of a credential by user. Credentials can be limited so that they are only visible for certain hosts and/or certain protocols, but not by which users or roles in the system can reference those credentials when defining a job. I assum

Re: Per Jenkins user Git credentials - restrict access to some git repo to some users

2015-11-20 Thread Mark Waite
You might also review the webinar mentioned at https://www.cloudbees.com/products/cloudbees-jenkins-platform/team-edition/features/role-based-access-control-plugin in case the Cloudbees roles based access control plugin could meet your needs. I'm pretty sure that plugin requires a Cloudbees Enterp

Re: Jenkins not saving P12 certificate from Google Service Account from private key

2015-11-20 Thread Christopher Orr
Weird. There should be `emailAddress` and `p12KeyFile` tags within `serviceAccountConfig`. I see that v0.4 of the plugin came out recently which, from a quick look at the code changes, makes some changes in how the data is stored — but I tested with 0.3, upgrading to 0.4, and re-saving with 0.4 a