Skip to content

screwdriver-cd/scm-router

Repository files navigation

SCM Router

Version Downloads Build Status Open Issues License

A generic scm plugin that routes builds to a specified scm

An SCM is a source control management system, like Github, Bitbucket, Gitlab, etc. This SCM Router module will allow multiple SCMs to be used within a single Screwdriver cluster.

i.e. Github, Bitbucket, Gitlab

The scm router will allow multiple scms to be used in a Screwdriver cluster.

Usage

npm install screwdriver-scm-router

Interface

It will initialize any routers specified in the default.yaml under the scms keyword.

Example scm yaml section:

scms:
    githubDisplayName:
        plugin: github
        config:
            oauthClientId: YOU-PROBABLY-WANT-SOMETHING-HERE
            ......
    bitbucketDisplayName:
        plugin: bitbucket
        config:
            oauthClientId: YOUR-BITBUCKET-OAUTH-CLIENT-ID
            ......

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.