Opened 4 years ago

#3508 new enhancement

GitlabGit step for cloning forks

Reported by: cmouse Owned by:
Priority: minor Milestone: undecided
Version: 0.9.0b7 Keywords:


In an environment, where gitlab webhooks are used to submit builds, these webhooks can also be used for forks. Buildbot cannot handle these correctly, viz, it should add an upstream and pull the fork's code over that.

Alternatively it can do fresh checkout from fork's repository, which is what the following fewliner will do:

class GitlabGit(steps.Git):
   def startVC(self, branch, revision, patch):
     self.repourl =[0].repository
     yield super(GitlabGit,self).startVC(branch, revision, patch)

Change History (0)

Note: See TracTickets for help on using tickets.