Skip to content
Browse files
Merge pull request #499 from MarkEWaite/master-PRxxx-npe-passing-null…

JENKINS-44640 - Fix NPE checking legacy git SCM URL
  • Loading branch information
MarkEWaite committed Jun 2, 2017
2 parents a274696 + f90a852 commit 2903c1a9657a54d29cc5a6be0e9ad61c572ff8ce
Showing 1 changed file with 5 additions and 1 deletion.
@@ -187,7 +187,11 @@ public FormValidation doCheckUrl(@AncestorInPath Item item,
StandardCredentials credential = lookupCredentials(item, credentialsId, url);
CredentialsProvider.track(item, credential);

// Should not track credentials use in any checkURL method, rather should track
// credentials use at the point where the credential is used to perform an
// action (like poll the repository, clone the repository, publish a change
// to the repository).

// attempt to connect the provided URL
try {

0 comments on commit 2903c1a

Please sign in to comment.