Hi, I'm using artifactory pro 2.1.3. I know the wiki page, by the way the wiki page is out of date. The properties revision, buildnumber now named vcs.revisionand build.number
The feature will not work for a older snapshot artifact in a snapshot repository configured with "Maven Snapshot Version Behavior " = unique. It works only for the newest artifact. Greetings, Torsten On Wed, 5 Sep 2012 11:33:14 +0300 Eli Givoni <[email protected]> wrote: >Hi, > >Please see this wiki about property >resolution<http://wiki.jfrog.org/confluence/display/RTF/Using+Properties+in+Deployment+and+Resolution>rules, >see if that explains your issue. > >Niky can you please attache your query and a pick of the artifact >properties tab. >BTW, what version of Artifactory are you using, I use it a lot and seems to >work fine. > >Thanks > >Eli >On Tue, Sep 4, 2012 at 3:44 PM, Dipl.-Ing. Torsten Liermann < >[email protected]> wrote: > >> 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 >> ---- 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
