I'm kind of new in git, and not very good with bash.
I have a repository (in Bitbucket if it matters), and it contains only two folders.
I already have a hook (written in bash), that triggers a Jenkins job.
Now I want to change it, so it will trigger the job only for files that are committed to one of the folders, and not for the other one.
I wanted to use the name of the committed file, because it will contain the folder name, but I don't know how to do that.
Any help will be much appreciated.