Using the "Generic-Artifactory Integration" I can publish artifacts however
no matter what pattern I try, I cannot get it to resolve artifacts. I always
get the following response:
Resolving published dependencies with pattern libs-release:home/myfile.exe
ERROR: Failed to search artifact by the pattern
'libs-release:home/myfile.exe': HTTP/1.1 400 Bad Request
java.io.IOException: Failed to search artifact by the pattern
'libs-release:home/myfile.exe': HTTP/1.1 400 Bad Request
at
org.jfrog.build.client.ArtifactoryDependenciesClient.readResponse(ArtifactoryDependenciesClient.java:150)
at
org.jfrog.build.client.ArtifactoryDependenciesClient.searchArtifactsByPattern(ArtifactoryDependenciesClient.java:106)
at
org.jfrog.hudson.generic.GenericArtifactsResolver.handleDependencyPatternPair(GenericArtifactsResolver.java:127)
at
org.jfrog.hudson.generic.GenericArtifactsResolver.downloadDependencies(GenericArtifactsResolver.java:101)
at
org.jfrog.hudson.generic.GenericArtifactsResolver.retrievePublishedDependencies(GenericArtifactsResolver.java:90)
at
org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:190)
at hudson.model.Build$BuildExecution.doRun(Build.java:154)
at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1488)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Finished: FAILURE
I have tried every version of wildcard and specific path without success.
Any help would be greatly appreciated because without this resolved I can't
use Artifactory.
My first build process creates the exe then publishes it to the repository.
A secondary process needs to download that exe in order to build subsequent
artifacts.
Using Jenkins 1.476, Artifactory plugin 2.1.1 on a Windows server.
Artifactory running on a Centos server.
--
View this message in context:
http://forums.jfrog.org/Jenkins-plug-in-fails-to-resolve-artifacts-tp7578162.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users