Hi, I'm using TC 4.0.2 and I have some projects that generate artifacts.
Those are libs that are needed by other developpers. I'm trying to figure out how to allow them to get thoses libs.
Artifacts can be retrieve using url (http://www.jetbrains.net/confluence/display/TCD4/Patterns+For+Accessing+Build+Artifacts), but they need to be download 1 by 1 and some of my artifacts directories contains 300+ files . Next TC release will add a "download all" feature (http://jetbrains.net/tracker/issue/TW-220) but its future...
I can also share the server artifacts directory, which is a good solution for me, but the structure is <TeamCity Data Directory>/artifacts/<project name>/<build configuration name>/<internal_build_id>. Now if I'm using a script (.bat), how can I translate .lastSuccessfull build to internal_build_id ?? In other words, how can I wrote a script that will return all the files inside the last successful dir or how can I get the "last" internal_build_id to put in a script?