How to trigger Jenkins job by deploying git pipline using webhook?
I just played with it locally on a "safe network", but it may give you an idea.

I put in .git/hooks/post-commit something like:

wget --auth-no-challenge --http-user=$USER --http-password=$APITOKEN --secure-protocol=TLSv1 $JENKINS/job/$JOB/build?token=$JOBTOKEN -O /dev/null -o /dev/null


You need to create API token in jenkins and grab the webhook url for a given job.