Jenkins plugin Global configuration API

35 views
Skip to first unread message

Suryalakshminarayana Dhulipudi

unread,
Aug 22, 2018, 8:34:05 AM8/22/18
to jenkin...@googlegroups.com
Hi Team,


Can anyone please help us on this request.
 

Regards,

Suryalakshminarayana Dhulipudi,


Suryalakshminarayana Dhulipudi

unread,
Aug 25, 2018, 4:48:31 AM8/25/18
to jenkin...@googlegroups.com
Hi Team,

Can you please update on the trail mail ?

Regards,

Suryalakshminarayana Dhulipudi,



Oleg Nenashev

unread,
Aug 26, 2018, 2:49:21 PM8/26/18
to Jenkins Developers


On Saturday, August 25, 2018 at 10:48:31 AM UTC+2, Suryalakshminarayana Dhulipudi wrote:
Hi Team,

Can you please update on the trail mail ?
Regards,

Suryalakshminarayana Dhulipudi,

IIUC "//rest of the other stuff" hides the stuff which actually calls the methods in concern.
I do not see code in perform() which throws the reported NPEs

Suryalakshminarayana Dhulipudi

unread,
Aug 28, 2018, 8:09:33 AM8/28/18
to jenkin...@googlegroups.com
Hi team,

In our Builder class(IntegrationLeader and RunActionOnApp) we have a function called configure, which fetches the values of global configuration using below lines of code.

CustomGlobalConfiguration calmGlobalConfiguration = CustomGlobalConfiguration.get();
calmIP = calmGlobalConfiguration.getPcip()


The values fetched are used or making api calls so that other fields on the UI get populated. We hardcoded the values(i.e set calmIP = <ip adders>) and checked that api calls are working fine but when we use above code(i.e fetch values from global configuration) the calls start failing as the values are being sent null.

Regards,

Suryalakshminarayana Dhulipudi,




--
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/21e6a381-d3b1-41db-9bb0-ee7cb9312229%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages