Hi,

when I'm using this, i will get an 404 error with the error
message:

File 
'yyy-snapshot-local:de/xxx/abc/ArchiveRestGiesing/3.1-SNAPSHOT/ArchiveRestGiesing-3.1-20120904.115314-11-client.jar'
 was found, but mandatory properties do not match.

I would expect that artifactory give me the artifact
ArchiveRestGiesing-3.1-20120904.082737-9-client.jar because this
artifact has the property value with the right build.number

20120904.115314-11 is the unique snapshot ID of the latest deployt artifact.

What I'm doing wrong?

Thanks for a hint
Torsten

On Tue, 4 Sep 2012 10:00:59 +0300
 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.

----
Dipl.-Ing. Torsten Liermann          Tel: +49 151/11565077
Theodolindenplatz 2                   
81545 München                       http://liermann-it.de

------------------------------------------------------------------------------
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