Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-30774] Removed a global configuration option
  • Loading branch information
recena committed Nov 2, 2015
1 parent 240108e commit 30883d4
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 97 deletions.
8 changes: 4 additions & 4 deletions src/main/java/hudson/scm/SubversionSCM.java
Expand Up @@ -3086,9 +3086,9 @@ public FormValidation checkCredentialsId(StaplerRequest req, @Nonnull Item conte
return FormValidation.ok();
}

// Is the URL repository parameterized?
// Is the repository URL parameterized?
if (url.indexOf('$') != -1) {
return FormValidation.warning("This repository has a parameterized URL, validation skipped.");
return FormValidation.warning("This repository URL is parameterized, validation skipped.");
}

try {
Expand Down Expand Up @@ -3147,8 +3147,8 @@ public FormValidation checkCredentialsId(StaplerRequest req, @Nonnull Item conte
}
}
} catch (SVNException e) {
LOGGER.log(Level.WARNING, "Unable to access to subversion repository. " + e.getMessage());
return FormValidation.warning("Unable to access to subversion repository");
LOGGER.log(Level.SEVERE, "Unable to access to subversion repository. " + e.getMessage());
return FormValidation.error("Unable to access to subversion repository");
}
}

Expand Down
5 changes: 0 additions & 5 deletions src/main/resources/hudson/scm/SubversionSCM/global.jelly
Expand Up @@ -37,10 +37,5 @@ THE SOFTWARE.
<f:entry title="${%Exclusion revprop name}" help="/descriptor/hudson.scm.SubversionSCM/help/excludedRevprop">
<f:textbox name="svn.global_excluded_revprop" value="${descriptor.globalExcludedRevprop}"/>
</f:entry>
<f:optionalBlock
name="svn.validateRemoteUpToVar"
checked="${descriptor.validateRemoteUpToVar}"
title="${%Validate repository URLs up to the first variable name}"
help="/descriptor/hudson.scm.SubversionSCM/help/validateRemoteUpToVar"/>
</f:section>
</j:jelly>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 30883d4

Please sign in to comment.