public String getRemoteUrl ( String defaultRemoteUrl ) { if ( StringUtils . isBlank ( defaultRemoteUrl ) ) { RemoteConfig remoteConfig = getJenkinsScm ( ) . getRepositories ( ) . get ( 0 ) ; URIish uri = remoteConfig . getURIs ( ) . get ( 0 ) ; return uri . toPrivateString ( ) ; } return defaultRemoteUrl ; }
This method is currently in use only by the SvnCoordinator