Can you tell how to do it? We are unable to find the configuration in the api viewer.
Thanks. On Fri 16 Aug, 2019, 20:07 Jesse Glick, <[email protected]> wrote: > On Fri, Aug 16, 2019 at 9:11 AM Parichay Barpanda > <[email protected]> wrote: > > All the detected traits in Job dsl api viewer takes either > int/boolean/string values. But in Fork Merge Request Trait the trust field > takes an SCMHeadAuthority object. How does one configure Job DSL with fork > `change request` trait for any of the branch source plugin? > > I presume like any other `Describable`: you need to pick an > implementation with a `@Symbol`, like > > > https://github.com/jenkinsci/gitlab-branch-source-plugin/blob/c0c8236ff87b9bc48110690de8eba99a10966e81/src/main/java/io/jenkins/plugins/gitlabbranchsource/ForkMergeRequestDiscoveryTrait.java#L230 > > -- > 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/CANfRfr1UjomXq8GKBa0GDsHcCPVMswTGUO64csqDCfC0mVadYw%40mail.gmail.com > . > -- 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/CAD0DWAOYbhfBBFWqVt9YOFgojr2u8UapSOX2XBpK%3DzRbQaVaig%40mail.gmail.com.
