mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
Added a convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14567 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
abe1def90e
commit
fca5cb37ce
2 files changed
+8
-5
No files matched your search
@@ -159,6 +159,13 @@ public class SubversionSCM extends SCM implements Serializable {
|
||||
this.browser = browser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience constructor, especially during testing.
|
||||
*/
|
||||
public SubversionSCM(String svnUrl) {
|
||||
this(new String[]{svnUrl},new String[]{null},true,null);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* as of 1.91. Use {@link #getLocations()} instead.
|
||||
|
||||
Reference in new issue
Block a user