I want to set up a post-receive git hook that notify jenkins about the change, but no job is triggered in jenkins.
My
Enable SCM polling for each project you want to notify:
The notification you send tells Jenkins to poll the repository, so projects will only respond if SCM polling is enabled.