Adds bitbucket server support

This commit is contained in:
Eric Amodio
2017-09-11 19:18:29 -04:00
parent 62580da702
commit 21e0963600
10 changed files with 78 additions and 16 deletions

View File

@@ -4,12 +4,12 @@ import { RemoteProvider } from './provider';
export class BitbucketService extends RemoteProvider {
constructor(public domain: string, public path: string) {
constructor(public domain: string, public path: string, public custom: boolean = false) {
super(domain, path);
}
get name() {
return 'Bitbucket';
return this.formatName('Bitbucket');
}
protected getUrlForBranches(): string {