简体   繁体   中英

JFrog webhook gives "Sending a dummy Webhook failed"

So I have a self hosted Jfrog repo which I wanted to use with a jenkins pipeline, I deployed jenkins with ngrok in order to have a fake domain.

When I created the webhook inside JFrog I used the following url : https:///generic-webhook-trigger/invoke?token=123 **

I tried testing it inside JFrog and keep getting the error alert "Sending a dummy Webhook failed" and of course, the pipeline not getting triggered

This is the output inside ngrok command, looks like the webhook is getting triggered but ngrok is showing a 404 error在此处输入图像描述

I've been stuck for days and I hope someone here can help me with this.

It seems that the problem is in the webhook service configuration, either in Jenkins or in ngork.

Did you try calling the webhook service directly from curl or postman?

Did you try calling the Jenkins webhook service directly to make sure it is configured correctly?

You may try configuring JFrog to call Jenkins directly by setting urlStrictPolicy to false in system.yaml. You can read more about configuring JFrog webhook in the following article: https://jfrog.com/knowledge-base/artifactory-how-to-test-webhooks-in-artifactory-and-check-its-request-payload/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM