Hi Nicky,

If I understand correctly you want to change the version of the project
from snapshot to release after it is already deployed to Artifactory when
using the Artifactory Jenkins promotion mechanism.
This feature is on our roadmap as part of our improved CI->Artifactory
release cycle plane.

Currently the only way to do it is by writing a custom 'User
Plugin'<http://wiki.jfrog.org/confluence/display/RTF/User+Plugins>to
intercept the move action and modifying the path of deployment by your
self, it also means you need to change the pom version inside the files
them self. There is a good chance someone has already wrote such a plugin
so it might be worth looking.

HTH,

Eli

On Tue, Nov 22, 2011 at 6:20 PM, Nicky Ramone <[email protected]> wrote:

> Oh, thanks, Eli, I am aware of those properties but I'm looking for
> something different.
> What I would like is to append the build number to the artifact name.
> For instance, if I'm building dummy-1.0.0-SNAPSHOT.jar and I stage on the
> 5th build, I would like the artifact to be staged as dummy-1.0.0-5.jar
>
> The nature of this need is because we do several QA stagings from the same
> snapshot.
> If we didn't do that, it would be a mess to change all of the POMs and
> their dependencies every time we want to move to QA.
>
> Is that possible somehow?
>
>
> On Tue, Nov 22, 2011 at 1:06 PM, Eli Givoni <[email protected]> wrote:
>
>> Hi Nicky,
>>
>> The plugin attaches the following properties automatically on all
>> deployed artifacts produced by the build:
>>  build.name
>>  build.number
>> build.timestamp
>> vcs.revision
>> You can view them when selecting them inside Artifactory UI tree browser
>> under the Metadata tab.
>> You can also add your own key/value properties as part of of the
>> Artifactory Jenkins plugin configuration.
>>
>> HTH,
>>
>> Eli
>> The Artifactory team
>>
>>
>> On Tue, Nov 22, 2011 at 5:17 PM, Nicky Ramone <[email protected]> wrote:
>>
>>> Hi
>>>
>>> Is it possible to somehow append the build number to the artifact that
>>> is being staged?
>>>
>>> Thanks.
>>> Regards.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> All the data continuously generated in your IT infrastructure
>>> contains a definitive record of customers, application performance,
>>> security threats, fraudulent activity, and more. Splunk takes this
>>> data and makes sense of it. IT sense. And common sense.
>>> http://p.sf.net/sfu/splunk-novd2d
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to