Hi,I need to be able to tag the current snapshot artifact when I publish to
artifactory. The reason for this is because I need to store the tag in a
manifest inside the artifact.

At the time of publishing the artifact I won't know the exact timestamp as
it would be stored in Artifactory

I have tagging working though it applies it to all artifacts of a certain
snapshot. Not the artifact being published.

I just need to limit it to the one being published

I thought about retrieving the last timestamp info from the metadata which
has led me to another issue. 

The snapshot versions correctly show *8.1.7-20140515.144329-35* and 35,
though the version shows 8.1.7-201405*13*.105115-31 which is two days ago?

<metadata>        <groupId>com.foo.backoffice</groupId>
<artifactId>admin</artifactId>
<version>8.1.7-20140513.105115-31</version> <versioning>      
<snapshot>                        
<timestamp>20140515.144329</timestamp>              
<buildNumber>35</buildNumber>               </snapshot>       
<lastUpdated>20140515151522</lastUpdated>   
<snapshotVersions>                        <snapshotVersion>         
        
<extension>tgz</extension>                  
<value>8.1.7-20140515.144329-35</value>                     
<updated>20140515144329</updated>                   
</snapshotVersion>                
<snapshotVersion>                         
<extension>pom</extension>                  
<value>8.1.7-20140515.144329-35</value>                     
<updated>20140515144329</updated>                   
</snapshotVersion>                
<snapshotVersion>                         
<classifier>sources</classifier>                    
<extension>tgz</extension>                  
<value>8.1.7-20140515.144329-35</value>                     
<updated>20140515144329</updated>                   
</snapshotVersion>                
<snapshotVersion>                         
<classifier>rpm</classifier>                        
<extension>rpm</extension>                  
<value>8.1.7-20140515.144329-35</value>                     
<updated>20140515144329</updated>                   
</snapshotVersion>                
<snapshotVersion>                         
<classifier>manifest</classifier>                   
<extension>xml</extension>                  
<value>8.1.7-20140515.144329-35</value>                     
<updated>20140515144329</updated>                   
</snapshotVersion>                
<snapshotVersion>                         
<classifier>static</classifier>                     
<extension>tgz</extension>                  
<value>8.1.7-20140515.144329-35</value>                     
<updated>20140515144329</updated>                   
</snapshotVersion>        
</snapshotVersions>       </versioning></metadata>
If anybody can help with the tagging of only the current snapshot and/or
explain why the versions are off i'd be most appreciativeThanksJames



--
View this message in context: 
http://forums.jfrog.org/Metadata-versions-and-tagging-the-current-snapshot-tp7579849.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to