#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
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits