[users at bb.net] optional parameter for trigger steps

Greg MacDonald gmacdonald at trionworlds.com
Thu Mar 3 21:09:17 UTC 2016


Hi Francesco, You probably could use windows, but I found it easier to use an Ubuntu 14 virtual machine for hacking the web page. Ubuntu 15 didn’t work out for me. -Greg

From: users [mailto:users-bounces at buildbot.net] On Behalf Of Francesco Di Mizio
Sent: Thursday, March 03, 2016 8:53 AM
To: Pierre Tardy
Cc: Buildbot
Subject: Re: [users at bb.net] optional parameter for trigger steps

Will give it a  try tomorrow then ;)

On a side not: on Win am I better off spinning up a Linux box to hack away?

On Thu, Mar 3, 2016 at 3:41 PM, Pierre Tardy <tardyp at gmail.com<mailto:tardyp at gmail.com>> wrote:

Oh yes it's very feasible and would be a nice be feature!

Le jeu. 3 mars 2016 15:40, Francesco Di Mizio <francescodimizio at gmail.com<mailto:francescodimizio at gmail.com>> a écrit :
I know it's not yet possible but I can make it work I believe.

If you mean it's not possible code-wise, then I'll just take your word.

On Thu, Mar 3, 2016 at 3:38 PM, Pierre Tardy <tardyp at gmail.com<mailto:tardyp at gmail.com>> wrote:

Unfortunately this is not possible yet.

The solution is to make two trigger steps.
The first with waitforfinish = false and containing your optional tests

Le jeu. 3 mars 2016 15:32, Francesco Di Mizio <francescodimizio at gmail.com<mailto:francescodimizio at gmail.com>> a écrit :
when specifying the scheduler names to kick, I'd like to choose which ones are crucial, as in they're going to fail the step if they fail.

So something like

Trigger(
    .....
    schdulerNames = [
         ("sched_1", will_fail_the_step = False)
         ("sched_2") # will_fail_the_step defaults to True
    ],
   other ctor params
)

and this would also affect getSchedulersAndProperties(). and which would have to return a list of tuples with one more True/False param.

I am just gonna work on this though if it's something you pips think might be a 'good to have' as I do not want to have custom code.


Cheers!

_______________________________________________
users mailing list
users at buildbot.net<mailto:users at buildbot.net>
https://lists.buildbot.net/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160303/467cd0d6/attachment.html>


More information about the users mailing list