Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-39837] We need to be able to set the browser after instantia…
…tion
  • Loading branch information
stephenc committed Jan 12, 2017
1 parent 1fab3e0 commit 3615440
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/hudson/plugins/git/GitSCM.java
Expand Up @@ -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)*/*"),
Expand Down

0 comments on commit 3615440

Please sign in to comment.