continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse" <emmanuel.veni...@gmail.com>
Subject Re: git in continuum
Date Thu, 05 Jun 2008 08:01:29 GMT
On Wed, Jun 4, 2008 at 6:58 PM, Travis Stevens <travis.stevens@gaiam.com>
wrote:

> Yeah, the first build worked perfectly, but subsequent builds failed
> because of the lack of update support.  I have been looking at the code
> and am planning to implement it today.  As far as implementation, I will
> basically issue two commands:
> git fetch
> git reset --hard HEAD
>
> Is there anything else that may need to be implemented, such as the
> export, list or info command for the git provider to work fully with
> continuum?


We don't use them in Continuum, but if you want to implement them, you're
welcome :)


>
>
> Also, it seems that the ScmVersion, which may come from the continuum
> "Branch/Tag" field is usually an instance of ScmTag and plain old
> ScmBranch.  Is there anyway in continuum to specify that the specified
> "Branch/Tag" is just a Branch, and not a Tag?


No, but my point of view is that a tag is a specific branch that won't be
modify

Emmanuel

>
>
> -Travis
>
> On Wed, 2008-06-04 at 14:06 +0200, Emmanuel Venisse wrote:
> > It is in our plans to integrate git support in Continuum but it isn't
> > possible for the moment because the git update command isn't implemented
> yet
> > in maven-scm.
> >
> > If you want to implement it, we'll can add git support.
> >
> > Emmanuel
> >
> > On Tue, Jun 3, 2008 at 9:21 PM, Travis Stevens <travis.stevens@gaiam.com
> >
> > wrote:
> >
> > > So, I've noticed that continuum uses maven scm and the maven scm plugin
> > > has git support.  So my goal is to do continuous integration on our git
> > > projects.
> > >
> > > Here is what I did:
> > >
> > > 1. downloaded the continuum trunk from svn
> > > 2. added the following to the pom.xml
> > >
> > >      <dependency>
> > >        <groupId>org.apache.maven.scm</groupId>
> > >        <artifactId>maven-scm-provider-gitcore</artifactId>
> > >        <version>${maven-scm.version}</version>
> > >      </dependency>
> > >      <dependency>
> > >        <groupId>org.apache.maven.scm</groupId>
> > >        <artifactId>maven-scm-provider-gitexe</artifactId>
> > >        <version>${maven-scm.version}</version>
> > >      </dependency>
> > >
> > > 3. compiled and then ran continuum using 'mvn jetty:run'
> > >
> > > This didn't work, and produced a fairly cryptic error message:
> > > 2008-06-03 13:16:13,101 [pool-1-thread-1] INFO  buildController  -
> > > Merging SCM results
> > > 2008-06-03 13:16:13,679 [pool-1-thread-1] INFO  buildController  -
> Error
> > > updating from SCM, not building
> > >
> > >
> > > I tried to step up the logging by editing
> > > continuum-webapp/src/main/resources/log4j.xml and then 'mvn package' on
> > > the webapp and restarting it.  That didn't help any.
> > >
> > >
> > > So this all was a total guess because I couldn't find any documentation
> > > on how to reach my goal.  If anyone can point me in the right direction
> > > by either pointing to/providing instructions on adding git support to
> > > continuum or helping me find the actual error, I would really
> appreciate
> > > it.
> > >
> > > -Trav
> > >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message