[Buildbot-commits] [Buildbot] #1976: Git build step fails after SVN step

Buildbot nobody at buildbot.net
Thu Jun 2 01:00:57 UTC 2011


#1976: Git build step fails after SVN step
--------------------+-----------------------
Reporter:  karl     |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.3p1  |   Keywords:  svn git
--------------------+-----------------------
 I have a build factory which needs to update and deploy from both a SVN
 and Git repository.  This works when I force a build, however, when a
 build is scheduled by a SVN update noticed by PBChangeSource, the Git step
 fails.  Here is a fragment:

 {{{
     instance = factory.BuildFactory()
     instance.addStep(
         SVN(svnurl='xxx',
             workdir='xxx',
             mode='clobber'))
     instance.addStep(Compile(workdir='xxx'))
     instance.addStep(
         Git(repourl='xxx_2',
             workdir='xxx_2'
             mode='clobber'))
 }}}

 When this is triggered by a SVN update, one of the commands run by the Git
 step is

 /usr/bin/git reset --hard 4436

 (or whatever SVN revision number triggered the build), which fails (since
 Git doesn't like the SVN revision number).  This command isn't run for a
 forced build.

 Slave is running buildbot-0.8.3p1.zip downloaded from code.google.com,
 master is running 0.8.3p1 as well.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1976>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list