-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: artifactory-plugin
-
None
-
Environment:Jenkins 2.60.1
Artifactory Plugin 2.12.0 and 2.12.1
When using the Generic-Artifactory Integration the plugin returns the following stacktrace when downloading files:
Â
java.io.IOException: remote file operation failed: C:\jenkins\workspace: java.io.IOException: Failed to search artifact by the aql 'items.find({"repo": "XXXXX","$or": [{"$and": [{"path": {"$match":"."},"name":{"$match":"XXXXX*"}}]}]})': HTTP/1.1 407 Proxy Authentication Required
at hudson.FilePath.act(FilePath.java:993)
at hudson.FilePath.act(FilePath.java:975)
at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:355)
at hudson.model.Build$BuildExecution.doRun(Build.java:157)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
at hudson.model.Run.execute(Run.java:1735)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:405)
Caused by: java.io.IOException: Failed to search artifact by the aql 'items.find({"repo": “XXXX”,”$or": [{"$and": [{"path": {"$match":"."},"name":{"$match”:”XXXXX*”}}]}]})’: HTTP/1.1 407 Proxy Authentication Required
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.readResponse(ArtifactoryDependenciesClient.java:161)
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.searchArtifactsByAql(ArtifactoryDependenciesClient.java:114)
at org.jfrog.build.extractor.clientConfiguration.util.AqlDependenciesHelper.collectArtifactsToDownload(AqlDependenciesHelper.java:62)
at org.jfrog.build.extractor.clientConfiguration.util.WildcardsDependenciesHelper.retrievePublishedDependencies(WildcardsDependenciesHelper.java:86)
at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:83)
at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.downloadArtifactsBySpec(SpecsHelper.java:100)
at org.jfrog.hudson.generic.FilesResolverCallable.invoke(FilesResolverCallable.java:47)
at org.jfrog.hudson.generic.FilesResolverCallable.invoke(FilesResolverCallable.java:20)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2739)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at ......remote call to build_slave(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:830)
at hudson.FilePath.act(FilePath.java:986)
... 8 more
Â
Â
Â
We do have the correct ignore list set in the jenkins proxy configuration as well. Reverting back to version 2.11.0 of the plugin fixes this issue.Â