-
Notifications
You must be signed in to change notification settings - Fork 40
Job based secret #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ch job instead of all the same (now Jenkins can even find one without first manually load and save the configuration of one job
|
Hi, will try the changes tonight and if everything is works fine i will merge this PR into master. |
|
Thanks, that would be great! Really want a more secure, job based, secret usages when using this in production instead of a single secret for all jobs |
|
@sanderv32 do you have time to fix this? Otherwise I need to start setting stuff up to manually supply this to Jenkins |
|
Hi, i have to do this tonight but it can take a while before it shows up in the official repo (+/- 8 hours). So if you are in a real hurry you have to do it manually for the time being. |
|
Ok I will wait for that (hopefully the 8 hours is my sleeping time ;)) |
|
Tested #3 and worked in the test environment. 👍 |
|
#3 is merged although the jenkins plugin wiki doesn't show the new version yet it's there under the archive link. |
|
Found the plugin in the Update section in Jenkins |
Job based secret
|
Hi... on |
|
See issue #14 |
Setting the secret on the job is not working when using different jobs with different secrets (only the last one is stored). It the webhook cannot find the secret in Jenkins when not first triggered a new store of the secret in one of the jobs.
So, now the webhooks uses the Gogs secret defined on the job, so it can be different for each job instead of all the same (and Jenkins can find one without first manually load and save the configuration of one job)