Example #1
0
 def __init__(self, repourl=None, baseURL=None,
              defaultBranch=None,workdir=None, mode='update', alwaysUseLatest=True, timeout=20*60, retry=None,**kwargs):
     LoggingBuildStep.__init__(self, **kwargs)
     Bzr.__init__(self, repourl=repourl, baseURL=baseURL,
                defaultBranch=defaultBranch,workdir=workdir,mode=mode,alwaysUseLatest=alwaysUseLatest,timeout=timeout,
                retry=retry,**kwargs)
     self.name = 'bzr-update'
     self.description = ["updating", "branch %s%s"%(baseURL,defaultBranch)]
     self.descriptionDone = ["updated", "branch %s%s"%(baseURL,defaultBranch)]
Example #2
0
 def __init__(self, repourl=None, baseURL=None,
              defaultBranch=None,workdir=None, mode='update', alwaysUseLatest=True, 
              timeout=40*60, retry=None, **kwargs):
     # LoggingBuildStep.__init__(self, **kwargs)
     Bzr.__init__(self, repourl=repourl, baseURL=baseURL,
                defaultBranch=defaultBranch,workdir=workdir,mode=mode,alwaysUseLatest=alwaysUseLatest,timeout=timeout,
                retry=retry, **kwargs)
     self.name = 'bzr-update'
     self.branch = repourl
     self.description = ["updating", "branch %s"%(repourl)]
     self.descriptionDone = ["updated", "branch %s"%(repourl)]
     self.env_info = ''
     self.summaries = {}
     self.build_result = SUCCESS