Hi, Ofer.

Option 2) seems to be what I'm looking for, but matrix params don't seem to
work as expected in that case.
It only works for the latest build number. When I use a previous
"build.number", I get a 404 error (even though the snapshot exists for that
build). Is this a bug or something I'm not understanding?



On Tue, Sep 4, 2012 at 4:00 AM, Ofer Haze <[email protected]> wrote:

> Nicky Hi,
>
> There are two options you can use:
>
> 1) You can write your own user-plugin 
> <http://wiki.jfrog.org/confluence/display/RTF/User+Plugins>
>
> 2) Use metrix params to resolve the artifacts with matching property
> build.name and build.number. for example:
>
>  curl -I
> http://localhost:8081/artifactory/libs-snapshot-local/org/springframework/data/spring-data-commons-core/1.2.2.BUILD-SNAPSHOT/spring-data-commons-core-1.2.2.BUILD-
>     SNAPSHOT.jar;build.number=22;build.name+=spring-demo;
>
> I hope this helped
>
> Regards
> Ofer
>
>
> Hello.
>
> For reproducibility, we would like to obtain the "locked version" of the
> deployed snapshot in a build.
> When I browse the UI in the "Builds" section, I can get the full path to
> the snapshot file in the "Published Modules" tab, and this path contains
> the locked snapshot. 
> Example:http://myserver.com/artifactory/libs-snapshot-local/com/dummy/dummy/1.0.0-SNAPSHOT/dummy-1.0.0-20120903.133753-8.jar
>
> Is it possible to retrieve this information from the build? the build info
> api doesn't seem to include it.
> The only way I found of doing this is by using searches, but it is not
> straightforward nor completely "thread safe".
>
> Thanks.
> Regards.
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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

Reply via email to