Jenkins Gitea webhook

Regarding section 1 of ‘Jenkins Pipelines’ Course

I have configured Jenkins and Gitea on two different AWS EC2 instances. I can understand the connection between Jenkins server and Gitea server is established and webhook is getting created. But I am facing two issues:

a)The webhook IP is not matching Gitea server IP.
b) The job seems to not get triggered by a push /modification of code into the repo under Gitea Organization and I have to scan the Multibranch pipeline manually to get the changed reflected.

Without seeing your exact pipeline code, it’s hard to tell what’s going on. I would guess that the the Jenkins instance, if it’s on the same VPC as the gitea instance, would likely be able to call the webhook over the VPC’s network, as long as you configured your pipeline to use the internal DNS name of the webhook (or internal IP address) for the gitea server, but YMMV, as we say in the US.

If you’ll post your pipeline in a code block, I can make a more detailed check.