Skip to content
Permalink
Browse files

Fix for JENKINS-9625

  • Loading branch information
kreyssel committed May 9, 2011
1 parent 2639676 commit 618cc0dbadecb71cde45250a229307e550d4e4ce
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/main/java/hudson/plugins/jira/JiraProjectProperty.java
@@ -141,9 +141,12 @@ protected FormValidation check() throws IOException,
return FormValidation.error(Messages
.JiraProjectProperty_JiraUrlMandatory());
}


// call the wsdl uri to check if the jira soap service can be reached
try {
if (findText(open(new URL(url)), "Atlassian JIRA"))
URL soapUrl = new URL(new URL(url), "rpc/soap/jirasoapservice-v2?wsdl");

if (findText(open(soapUrl), "wsdl:definitions"))
return FormValidation.ok();
else
return FormValidation.error(Messages

0 comments on commit 618cc0d

Please sign in to comment.
You can’t perform that action at this time.