Re: Restrict credential retrieval to a specific slave

2019-10-09 Thread Mark Waite
I am not aware of anyone working to allow credentials to be limited to an agent. I believe the same capabilities are available by assigning the credentials to folders and then limiting user access to specific folders. Choose a credential name that should be the same in several different folders, t

Re: Restrict credential retrieval to a specific slave

2019-10-09 Thread Pietro Giannini
Hi! I just came across this post and realized this is exactly what we need. We are heavily using pipelines at our agency and being able to restrict credentials to a specific node would enable us to give total freedom the developers while keeping control of the passwords at infra level. Is ther

Re: Restrict credential retrieval to a specific slave

2019-09-20 Thread Jhonny Oliveira
Dear Mark, I understand your suggestion, however in such case you would have to create multiple jobs, whereas, as it is right now, I only need one. No parameters, no additional settings just the minimal configuration to pick up the changes, build, test and deploy. I even get for free all the st

Re: Restrict credential retrieval to a specific slave

2019-09-19 Thread Mark Waite
On Thu, Sep 19, 2019 at 8:41 AM Jhonny Oliveira wrote: > Dear Mark, > > I agree with you, I'm relying on long-lived agents. I read your answer, > but I'm not understanding your suggestion to use folders, I do not > comprehend how they can help. I mean, with folders I can avoid cross > application

Re: Restrict credential retrieval to a specific slave

2019-09-19 Thread Jhonny Oliveira
Dear Mark, I agree with you, I'm relying on long-lived agents. I read your answer, but I'm not understanding your suggestion to use folders, I do not comprehend how they can help. I mean, with folders I can avoid cross application credential usage and that is great, but I can't prevent cross en

Re: Restrict credential retrieval to a specific slave

2019-09-19 Thread Mark Waite
On Thu, Sep 19, 2019 at 6:30 AM Jhonny Oliveira wrote: > The idea is to have a self contained application (as in source repo), > where you have everything you need to maintain its SDLC: source, build, > tests (unit, regression, ...), continuous integration/automation > (Jenkinsfile). > > The Jenk

Re: Restrict credential retrieval to a specific slave

2019-09-19 Thread Dirk Heinrichs
Am Donnerstag, den 19.09.2019, 05:26 -0700 schrieb Jhonny Oliveira: What do you mean with agents? Jenkins people have stopped using the word "slave" some time ago. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 1

Re: Restrict credential retrieval to a specific slave

2019-09-19 Thread Jhonny Oliveira
The idea is to have a self contained application (as in source repo), where you have everything you need to maintain its SDLC: source, build, tests (unit, regression, ...), continuous integration/automation (Jenkinsfile). The Jenkinsfile should be part of the source code and cover the entire pro

Re: Restrict credential retrieval to a specific slave

2019-09-19 Thread Jhonny Oliveira
What do you mean with agents? The idea is to have a self contained application (as in source repo), where you have everything you need to maintain its SDLC: source, build, tests (unit, regression, ...), continuous integration/automation (Jenkinsfile). The Jenkinsfile should be part of the sourc

Re: Restrict credential retrieval to a specific slave

2019-09-19 Thread Mark Waite
On Thu, Sep 19, 2019 at 4:21 AM Jhonny Oliveira wrote: > Hi! > > is it possible to limit the usage of a credential to a specific slave? > Not with Jenkins as far as I know. Credentials can be defined on the Jenkins master, on folders, and on multibranch Pipelines. They can't be defined on Free