Discussion:
Querying Artifacts doesnt work
Dim
2018-02-07 13:25:45 UTC
Permalink
Hi,I want to download the artifact with Jenkins from Archiva. For this Issue
i found Querying Artifacts
<http://archiva.apache.org/docs/2.2.3/userguide/querying-artifacts.html> .
The Problem is it doesnt work. I'm getting 204 No content, but artifact is
in repository. Then i found another Rest-Docu Archiva Web :: REST support
:: Api: SearchService
<http://archiva.apache.org/docs/2.2.3/rest-docs-archiva-rest-api/resource_SearchService.html>
I've tried another service */searchService/searchArtifacts* and It works. I
was getting json response.Authent. is working fine. Only querying doesn't
Work.Once more, I had put "p" parameter from ( Archiva Web :: REST support
:: Api: SearchService::Artifact
<http://archiva.apache.org/docs/2.2.3/rest-docs-archiva-rest-api/resource_SearchService.html#resource_SearchService_redirectToArtifactFile_GET>
) in Query and i got 500 and message "No message body writer has been found
for class org.apache.archiva.rest.services.ArchivaRestError, ContentType:
text/html"



--
Sent from: http://archiva.996284.n3.nabble.com/Issues-f3614.html

Continue reading on narkive:
Loading...