File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/main/java/org/jenkinsci/plugins/argusnotifier Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ public FormValidation doTestConnection(@QueryParameter("argusUrl") String argusU
165
165
@ QueryParameter ("credentialsId" ) String credentialsId ) {
166
166
if (argusUrl == null || argusUrl .trim ().isEmpty () || credentialsId == null || credentialsId .trim ().isEmpty ()) {
167
167
return FormValidation .error ("Please fill in the connection details." );
168
- } else if (ArgusDataSender .testConnection (argusUrl , getCredentialsById (credentialsId ))) {
168
+ } else if (ArgusDataSender .testConnection (stripTrailingSlash ( argusUrl ) , getCredentialsById (credentialsId ))) {
169
169
return FormValidation .ok ("Success!" );
170
170
} else {
171
171
return FormValidation .error (
You can’t perform that action at this time.
0 commit comments