I have my codebase in GIT. There are 5 files in the code base i.e.
- File1
- File2
- File3
- File4
- File5
I want to trigger a jenkins build only if File 2 is changed.Please note that, post the build is triggered it should pull the entire codebase.
I tried using poll SCM, but the problem is that the build gets triggered if any of the files in the repository are changed.I want to trigger it only if File 2 changes.
Is it possible?