catch ( SettingsConfigurationException se )
{
getLogger().warn( "problem with settings file, disabling scm resolution of username and password" );
}
MungedHttpsURL mungedURL;
if ( username == null )
{
mungedURL = new MungedHttpsURL( curl );
username = mungedURL.getUsername();
password = mungedURL.getPassword();
}
else
{
mungedURL = new MungedHttpsURL( curl, username, password );
}
mungedURL.setLogger( getLogger() );
if ( mungedURL.isValid() )
{
url = mungedURL.getURL();
BuildDefinitionTemplate buildDefinitionTemplate = getBuildDefinitionTemplate( context );
if ( buildDefinitionTemplate == null )
{
buildDefinitionTemplate = projectBuilder.getDefaultBuildDefinitionTemplate();