Adding dsl support to plugin

79 views
Skip to first unread message

Kirk Fitzsimons

unread,
Sep 12, 2024, 7:32:45 PM9/12/24
to Jenkins Developers
Hi

I would like to be able to add dsl support to this plugin https://github.com/jenkinsci/sonar-quality-gates-plugin

Can anyone help me out? I have found this https://github.com/jenkinsci/job-dsl-plugin/wiki/Dynamic-DSL but have not found it that helpful

Kirk

Ullrich Hafner

unread,
Sep 13, 2024, 6:24:28 AM9/13/24
to Jenkins Developers
DSL support normally works out-of-the box when you correctly implement the extension points.


Just enter your step name (or any other configuration) in the search field.


--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/2a013144-e487-4092-9ee7-26971b816990n%40googlegroups.com.

Kirk Fitzsimons

unread,
Sep 13, 2024, 8:09:09 AM9/13/24
to jenkin...@googlegroups.com
I dont see the plugin in the api-viewer, im assuming the extension points are not correctly implemented then

Ullrich Hafner

unread,
Sep 13, 2024, 10:19:24 AM9/13/24
to Jenkins Developers
Hmm, there is also nothing in https://www.jenkins.io/doc/pipeline/steps/.

Seems that your code is not following our guidelines:
- Your descriptor has no @Symbol(symbolName)
- Your descriptor contains a configure method
- In the UI I cannot edit the properties, are they defined as describables?


Kirk Fitzsimons

unread,
Oct 19, 2024, 7:10:07 PM10/19/24
to Jenkins Developers
Hi,

I have been able to add casc support in the latest version of the plugin, and tidied it up, I am still unsure as how to add it?
I have tried adding in @Symbol annotations and @DataBoundSetters etc, but I still cant see anything in the API.
Would really appreciate some assistance on this if anyone had time to help?

Kirk

Kirk Fitzsimons

unread,
Feb 14, 2025, 7:14:47 PM2/14/25
to Jenkins Developers

Hi Guys,

I am still struggling to figure this out, can someone please help

Kirk
Reply all
Reply to author
Forward
0 new messages