Need bit of help regarding Jenkins CI jobs. I am pretty new to Jenkins world
As per the current set up in our project we have different repositories in GIT and they have web hooks setup with Jenkins to trigger CI jobs in the event of any push. Please note there are separate CI job for different repos.
My requirements :
- Build a mono repo which will consist all existing repos. ( for test purpose I have created 2 repos and merged them in mono repo ).
- Set up Jenkins job which will trigger task only for repo where PUSH has occurred. e.g if my monorepo consist 2 merged repos repo1 and repo2 , so if any changes in repo1 should trigger only related task for repo1 and likewise for repo2.
I’m not sure how could I achieve point 2. Any help?