Ticket #696 (closed undecided: worksforme)

Opened 6 months ago

Last modified 6 months ago

WithProperties not supported in class derived from FileUpload

Reported by: philippem Owned by:
Priority: major Milestone: undecided
Version: 0.7.12 Keywords:
Cc:

Description

snippet of code in my class that is derived from FileUpload? (override of method finished)

branch = WithProperties?("%(branch)")

This gets rendered as <buildbot.process.properties.WithProperties? instance at 0x29c6c20\

note as the branch name (which it does get rendered as in other contexts)

Change History

Changed 6 months ago by philippem

  • status changed from new to closed
  • resolution set to worksforme

Ok -- after re-reading the documentation, I understand now that WithProperties? is only interpolated in arguments to shell commands, and I am now using

self.getProperty("branch") inside the build step.

thanks, i'll do that.

Love your product, it would be even better if there were some sample build steps and cfg files in the docs.

Changed 6 months ago by dustin

patches welcome :)

Note: See TracTickets for help on using tickets.