Hi,
I have a multi-branch pipeline setup to initiate a branch indexing every X minutes, which works fine. However, I am trying to start that process from the command line via a post-commit hook.
For a normal job, I can use the /subversion/<uuid>/notifyCommit to tell Jenkins of a new commit, and it will start any jobs that require it. This doesn't seem to apply to the multi-branch jobs, though. I can only start a job by using /jobs/<job-nam>/build.
I could have multiple jobs that share a repository, and I would like to avoid having to manually list each job in the post-commit hook.
The polling also had the advantage of triggering downstream jobs when an external changed - is this possible with the branch indexing? (ie run branch indexing, if external changes then run the branch build)?