我的 jenkins 和 jfrog artifactory 都作为 kubernetes 容器运行。我正在尝试将 jenkins 与 artifactory 集成。我也安装了神器插件。在测试连接时出现错误。
docker.bintray.io/jfrog/artifactory-oss(docker-image)
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
artifactory-oss NodePort 172.30.155.24 <none> 8086:30965/TCP,8082:30656/TCP 4h
artifactory url: http://<kubernetes-node-ip:30656/ui(this is the url for my artifactory, entered the same in jenkins congigure system section)
当我测试连接时出现此错误
Error occurred while requesting version information: Unexpected character ('<' (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]