On Wed, Jun 21, 2017 at 3:20 AM, Matej Artač <[email protected]> wrote:
>> Either attach all the `Actions` at top level (`Run.addAction`), or make
>> the nested structures extend `Object` and implement `RunAction2` on the
>> actual single `Action`.
>
> By the actual single Action you mean the Build action? What is considered
> here as a top level? Won't extending Object remove the ability to show icons
> on the appropriate level?

Yes, so if you are using all the actions as actual `Action`s then you
need to attach them all to the build, using `Run.addAction` on each.
And then get rid of the field in one action holding a list of other
actions.

It is hard to discuss details of mistakes in your code over a mailing
list. Much better to propose changes via pull request and then request
reviewers, where individual lines can be annotated.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3M6%2B%3Dukr%2BMjJFqiuqcARmFj8vsY3bu_K_TSQ3xkmoBUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to