Is Jenkins can build the job using more than one repo (like repo1, repo2, .. all changed need to be included in one build) and with same branch using TOPIC.
We use "repo sync" to pull the latest changes from dev branch (it is based on manifest file how we configure) from our host repository. My requirement is something like below:
$ cd <WORKING_DIR1>
$ repo sync
$ cd <repo1>
made some change, add and then push to gerrit using topic called "new-updates"
$ cd ../<repo2>
In repo2 also made some change, add and then push to gerrit using the same topic called "new-updates" . (So I pushed changes of repo1 and repo2 into gerrit using the same topic called "new-updates")
Here my requirement is Jenkins needs to trigger the build from gerrit using repo1 and repo2 changes (by using TOPIC called "new-updates"). I know Jenkins can trigger the build using one repo but I want Jenkins should use two changes (from repo1 and repo2) in one build using topic.
Can you let me know if there is any such solution.