Hello Markus,

On Thu, Jan 25, 2018 at 12:19 PM, <[email protected]> wrote:

> I see that there is i.e. one plugin to follow GitHub pull requests for a
> certain repository, but does that mean one server can at maximum follow one
> GitHub project, or can a single SCM plugin be instantiated multiple times
> with different parameters on one server?
>

Yes, it is definitely possible for a pluggable SCM
<https://docs.gocd.org/current/extension_points/scm_extension.html> to be
associated with multiple pipelines and even have one pipeline be associated
with multiple pluggable SCM materials. Anything you can do with a normal
git material should be possible to be done with an SCM plugin.

They're stored at a global level, though, unlike a git material which (in
the config) is at a pipeline level. That is misleading because GoCD will
continue to treat even those git materials as global internally, so that it
doesn't poll the same repositories multiple times.

There are some SCM plugins which might be interesting to you, such as the
git-path-material-plugin
<https://github.com/TWChennai/gocd-git-path-material-plugin>. To use as-is
or as a skeleton for your plugin.

Feel free to ask questions here or in the gitter channel, if you get stuck.

Cheers,
Aravind

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to