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 1fab3e0 commit 36154403f21b0adc1edeb001d0d4a4ceb5aa14b1
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 3615440

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