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.

Reply via email to