Ticket #696 (closed undecided: worksforme)
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
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
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.