<p>My jenkins and jfrog artifactory both are running as kubernetes containers. I am trying to integrate jenkins with artifactory. I have installed artifactory pluggin as well. while testing connection I'm getting error.</p>

<pre><code>docker.bintray.io/jfrog/artifactory-oss(docker-image)

NAME              TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                         AGE
artifactory-oss   NodePort    172.30.155.24   &lt;none&gt;        8086:30965/TCP,8082:30656/TCP   4h

artifactory url: http://&lt;kubernetes-node-ip:30656/ui(this is the url for my artifactory, entered the same in jenkins congigure system section)
</code></pre>

<p>when I test connection i'm getting this error </p>

<pre><code>Error occurred while requesting version information: Unexpected character ('&lt;' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (org.apache.http.client.entity.LazyDecompressingInputStream); line: 1, column: 2]
</code></pre>

Lavanya reddy
<p>TL;DR: Try switching <code>/ui</code> to <code>/artifactory</code>.</p>

<p>The Artifactory's URL should not end with <code>/ui</code>. Requests to <code>/ui</code> would return a HTTP page. I guess this is where the <code>&lt;</code> came from. </p>

<p>Connection to Artifactory should be made by the API url, i.e <a href="https://[base-url]/artifactory" rel="nofollow noreferrer">https://[base-url]/artifactory</a>.</p>
