I dont know what api you use but that url doesn't look good to me.
Have you tried with the below snippet
new URI("http://10.8.2.174:8082"), "admin", "admin");
Cheers
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/673d6a77-2cc0-402b-a18e-1035280d1cb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.