For the jsduck test pipeline, I've already consolidated the jobs and let Zuul trigger it with different project/branch/commit contexts.
rCICFddd8d0e97b50: Consolidate '{name}-jsduck' jobs
For the publish jobs, however, we still have separate ones.
Let's consolidate these as well and add an additional path variable in addition to doc_subpath for the parent directory (e.g. doc_projectpath).