0

I use Perforce as CVS and plan to send mail when builds finish. In a buildstep, I can use self.build.allFiles() to get the filelist but I couldn't figure out a way to do so in the mailnotifier.

Lancelod Liu
  • 290
  • 5
  • 19

1 Answers1

0

github issue

You can use the DataConnector class to achieve that. changes = yield self.master.data.get("builds", buildid, "changes") files = [] for c in changes: files.extend(c['files'])

Lancelod Liu
  • 290
  • 5
  • 19