I have Jenkins in a docker container and inside the container I have a local git repository, I added a post-commit file which runs a build in Jenkins each time a commit is made but the file doesn't run, what is the problem?
this is the post commit file (it's in the container)
Jenkins which is running inside the docker container on localhost