[HAP-40] Hudson artifactory plugin 1.1.0 is incompatible with Artifactory 2.2.1 Created: 17/Jun/10  Updated: 27/Jun/10  Resolved: 27/Jun/10

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 1.1.0
Fix Version/s: 1.2.0

Type: Bug Priority: Normal
Reporter: Eli Givoni Assignee: Tomer Cohen
Resolution: Fixed Votes: 0
Labels: None


 Description   

If backward compatibility is not possible detect incompatible artifactory versions and display a warning in the artifactory configuration screen.
This only affect the deployment of BuildInfo not artifacts.



 Comments   
Comment by Eli Givoni [ 17/Jun/10 ]

Fails when deploying the build info

Deploying build info ...
ERROR: Invalid use of SingleClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
java.lang.IllegalStateException: Invalid use of SingleClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
at org.apache.http.impl.conn.SingleClientConnManager.getConnection(SingleClientConnManager.java:199)
at org.apache.http.impl.conn.SingleClientConnManager$1.getConnection(SingleClientConnManager.java:173)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:356)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:75)
at org.jfrog.build.client.ArtifactoryBuildInfoClient.sendBuildInfo(ArtifactoryBuildInfoClient.java:209)
at org.jfrog.hudson.BuildInfoDeployer.deploy(BuildInfoDeployer.java:58)
at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:110)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:598)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
at hudson.model.Run.run(Run.java:1276)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:124)

Comment by Tomer Cohen [ 27/Jun/10 ]

The exception should be an UnsupportedOperationException This plugin is compatible with version 2.2.3 of Artifactory and above. Please upgrade your Artifactory server!

Generated at Sun Aug 25 00:36:34 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.