Replies: 6 comments
-
Hey @michalip, could you elaborate a bit on this? What is the use case? Triggering different jobs by having different webhook urls (e.g. with GET-Parameter) set in bitbucket? afaik it is not possible to send custom request headers with the bitbubcket hook, is it? |
Beta Was this translation helpful? Give feedback.
-
Hi @macghriogair , Use case: I've used BPPP to handle master branch only. Whatever happens on master branch, BPPP received the webhook , builds , presents the status on Build monitor. AFAIK , this is possible with secret/tokens I'm not sure I can provide more info, besides the use case , which is done so that work is reduced and the daily picture (master) is preserved and presented to the developers without changing for each minor change in feature branches note:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification. Could u provide a link to some sample plugin implementing this? |
Beta Was this translation helpful? Give feedback.
-
Another question: could you not use the branch filter (allowed branches: |
Beta Was this translation helpful? Give feedback.
-
Hi @macghriogair , The sample plugins implementing tokens: To reiterate, the token provides more security and also linking specific repos to specific jobs in Jenkins. I'm not a Jenkins expert; from what I understand when an incoming payload hits Jenkins, Jenkins tries to match the incoming repo with a job that has build that repo in the past. So creating only one job to handle many incoming requests without a token would not work. If it's something you can implement, I m sure myself and others would appreciate. Hope that helps and thanks for checking |
Beta Was this translation helpful? Give feedback.
-
the security point alone should be sufficient to have this as a feature. 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi
Any chance of adding a token which would assist targeting webhook->specific job ?
thanks
Beta Was this translation helpful? Give feedback.
All reactions