My Organization keeps a single git repository in bitbucket. It hosts multiple projects under the same branch.
I have to automate the build process using Jenkins; I configured a webhooks that invoke on any push to development branch. Now, I have to generate a build based on which sub-directory the changes happened in, e.g. if code was committed to /Microservice2
, it will generate build for MS2
, _etc.
How does one achieve this using Jenkins?