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.
Asked
Active
Viewed 69 times
0

Lancelod Liu
- 290
- 5
- 19
1 Answers
0
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