|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Buld ImportHi,
I have a legacy build system that is lodging its build artifacts into our revision control system. We are looking at moving both the revision control system and build system but are looking to do this in a few smalls steps. We are looking to move revision control first so because we would like to not pollute our new revision control system with artifacts. So I would like to use the Artifactory REST APIs in our old build system to lodge / retrieve artifacts. However I am having a hard time finding details on the Artifactory REST API - is there a wadl anywhere or any doco on the interface? The other thing is that because there are a load of build artifacts there already I need to do a build import ... there are thousands of built artifacts. Thanks, Adrian |
|
|
Re: Buld ImportHi Adrian,
The artifactory REST API for storing/retrieving/removing artifacts uses simple HTTP PUT/GET/DELETE calls with the path of the target artifact. Similar HTTP calls are made by Maven/Ivy when deploying and resolving artifacts. For example, to deploy a jar into artifactory using cURL, you can run: curl -X PUT -u user:password -f --data-binary @logback-classic-0.9.9.jar \ http://localhost:8080/artifactory/libs-releases-local/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar This will create the necessary folder hierarchy inside Artifactory, if it does not already exist, and will store the file there. Artifactory supports PUT/GET/DELETE/HEAD and MOVE, and you can also manipulate custom searchable XML metadata on any file or folder using the same REST methods. See: http://wiki.jfrog.org/confluence/display/RTF/Attaching+and+Reading+Metadata In addition, you can bulk import a full repository or a collection of artifacts on disk with REST to a running Artifactory, using the artadmin import command (or via the web UI - Admin:Import & Export). See: http://wiki.jfrog.org/confluence/display/RTF/The+artadmin+Command+Line+Tool Hope that helps, Yoav On Fri, Oct 9, 2009 at 6:59 PM, Adrian C <adrian.corcoran@...> wrote:
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
|
Re: Buld Importthanks for the comprehensive reply - will give this a try!
|
| Free embeddable forum powered by Nabble | Forum Help |