-
-
Notifications
You must be signed in to change notification settings - Fork 40
Comments
Conversation
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)
|
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 ;)) |
|
Found the plugin in the Update section in Jenkins |
|
Hi... on |