Ticket #2332 (new enhancement)

Opened 10 months ago

Last modified 4 months ago

Add ability to SetProperty so that you can set a property without a command

Reported by: tcooperma Owned by:
Priority: minor Milestone: 0.8.8
Version: 0.8.6p1 Keywords: sprint
Cc:

Description

Adding an option to SetProperty? to do the equivalent of "echo foobar" where foobar is some string that you generated in Python using WIthProperties or something else. Perhaps this is done with another parameter?

From: Philippe McLean? <philippe.mclean@…>

One option is to extend/modify the definition of SetProperty? in buildbot/steps/shell.py. Another possibility would be to use addFactoryArguments on any custom buildsteps.

Change History

comment:1 Changed 10 months ago by dustin

  • Milestone changed from undecided to 0.8.+

So basically this would be a step that doesn't run on the client, but just sets a property to a value?

I think SetProperty? could be adapted to do that. Maybe it could do so if command= is omitted, and intead it gets a value= argument? That's just a vague idea.

comment:2 Changed 6 months ago by tom.prince

  • Milestone changed from 0.8.+ to 0.8.8

comment:3 Changed 4 months ago by tom.prince

  • Keywords sprint added

This would probably be best done a separate step. Perhaps in buildbot.steps.master, since it doesn't involve talking to the slave?

Note: See TracTickets for help on using tickets.