Skip to content
Permalink
Browse files

[JENKINS-39837] We need to be able to set the browser after instantia…

…tion
  • Loading branch information
stephenc committed Jan 12, 2017
1 parent 6e13431 commit 7b8460c1af808528fb0268b32c937db6396344c9
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/hudson/plugins/git/GitSCM.java
@@ -321,6 +321,10 @@ public GitRepositoryBrowser getBrowser() {
return browser;
}

public void setBrowser(GitRepositoryBrowser browser) {
this.browser = browser;
}

private static final Pattern[] URL_PATTERNS = {
Pattern.compile("https://github[.]com/([^/]+/[^/]+?)([.]git)*/*"),
Pattern.compile("(?:git@)?github[.]com:([^/]+/[^/]+?)([.]git)*/*"),

0 comments on commit 7b8460c

Please sign in to comment.
You can’t perform that action at this time.