You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sharmarke Aden (JIRA)" <ji...@codehaus.org> on 2006/05/11 20:08:41 UTC

[jira] Commented: (CONTINUUM-687) Option to trigger the SCM system to tag successful builds with a build number or timestamp.

    [ http://jira.codehaus.org/browse/CONTINUUM-687?page=comments#action_65214 ] 

Sharmarke Aden commented on CONTINUUM-687:
------------------------------------------

Since there are quite a number of continuous integration systems and project management systems out there you can't really pick a particular method and expect that to fly with everyone. Ideally what you want is to have some kind of protocol that's understood by everyone that passes a build number from the continuous integration system to the project management and leave it up to the project management system to do the actually work of tagging.  

In the case of Maven2, it's probably best to make the build number available to POM via a variable. I image that would be useful to people using ant as well.

> Option to trigger the SCM system to tag successful builds with a build number or timestamp.
> -------------------------------------------------------------------------------------------
>
>          Key: CONTINUUM-687
>          URL: http://jira.codehaus.org/browse/CONTINUUM-687
>      Project: Continuum
>         Type: New Feature

>   Components: Core system
>     Reporter: Christian Gruber

>
>
> This is complex, because it would be different for each type.  For maven2, for example, it would be potentially compled on its own, insofar as tagging is handled quite differently between CVS and SVN (to pick two).  I could see a potential workaround, if build defs were independent within a project, by using a specific goal (say on a nightly build) and therefor "manually" invoking scm:tag or something.  
> In short, I'm not sure if it's better to do this within the build system, or continuum.  Suggestions?  Best practices anyone?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira