[Buildbot-commits] [Buildbot] #1911: Cannot checkout from default branch trunk when creating a Scheduler that uses SVN repository. Failure by using keyword None as branch

Buildbot nobody at buildbot.net
Tue Mar 29 11:59:39 UTC 2011


#1911: Cannot checkout from default branch trunk when creating a Scheduler that
uses SVN repository. Failure by using keyword None as branch
-------------------------+-------------------------------------------------
Reporter:  rodrigo       |      Owner:
    Type:  support-      |     Status:  new
  request                |  Milestone:  undecided
Priority:  critical      |   Keywords:  None, Scheduler, SVN, trunk,
 Version:  0.7.12        |  default branch
-------------------------+-------------------------------------------------
 hello all,

 I am trying to program a scheduler using a svn repository, checking out
 from trunk branch, without success. I'm sure that I do every import
 correctly. This is my code:

 This is the creation of the poller
 {{{
 s = SVNPoller("https://this.is.the-proj.url/svn/mainFolder/trunk")
 c['change_source'].append(s)

 c['schedulers'] = []
 myScheduler=Scheduler(name="myScheduler",
                    branch=None,
                    treeStableTimer=15,
                    builderNames=["builder1"])

 c['schedulers'] = [myScheduler]
 }}}
 I have also tried with:
 s = SVNPoller("https://this.is.the-proj.url/svn/mainFolder/trunk") and
 branch='trunk' without success

 This is the code of the build factory

 {{{

 f1 = factory.BuildFactory()

 f1.addStep(SVN(
            mode='clobber',
            username="myUsername",
            password="myPassword",
            baseURL='https://this.is.the-proy.url/svn/mainFolder/',
            defaultBranch='trunk'))

 }}}

 I've also tried with:
 baseURL='https://this.is.the-proj.url/svn/mainFolder/trunk',

 This is the code of the unique builder

 {{{
 b1 = {'name': "builder1",
       'slavename': "mySlave",
       'builddir': "full",
       'factory': f1,
       }
 c['builders'] = [b1]
 }}}

 Ive been able to check out not from the trunk directly, but from one
 specific folder inside of it instead. Hence I'm sure that most of the
 settings are accurate. It's just the case of the trunk folder, which is
 not working.

 After a file is checked-in, I do not get any error message, just the build
 is never scheduled.

 I appreciate pretty much your help. Thank you very much.

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


More information about the Commits mailing list