If I execute curl http://localhost:8081/Jenkins/job/test/build?delay=0sec My Jenkins job get triggered but
I have created a post-commit file(.git/hook/post-commit) and added curl command as below
curl http://localhost:8081/Jenkins/job/test/build?delay=0sec
But when I push a commit my Jenkins job isn't get triggered. What I'm missing here?