Skip to content

Commit

Permalink
Ticket buildbot#579: Resubmitted builds do not include properties set…
Browse files Browse the repository at this point in the history
… by Triggers.
  • Loading branch information
Ben Hearsum committed Oct 4, 2009
1 parent 08263a9 commit 101be40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions buildbot/buildset.py
Expand Up @@ -31,6 +31,9 @@ def waitUntilSuccess(self):
def waitUntilFinished(self):
return self.status.waitUntilFinished()

def getProperties(self):
return self.properties

def start(self, builders):
"""This is called by the BuildMaster to actually create and submit
the BuildRequests."""
Expand Down
3 changes: 2 additions & 1 deletion buildbot/process/builder.py
Expand Up @@ -882,7 +882,8 @@ def resubmitBuild(self, bs, reason="<rebuild, no reason given>"):
return

ss = bs.getSourceStamp(absolute=True)
req = base.BuildRequest(reason, ss, self.original.name)
req = base.BuildRequest(reason, ss, self.original.name,
properties=bs.getProperties())
self.requestBuild(req)

def getPendingBuilds(self):
Expand Down

0 comments on commit 101be40

Please sign in to comment.