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,

*Surya*lakshminarayana Dhulipudi,
Mobile:+91 9538967888




On Mon, Aug 27, 2018 at 12:19 AM Oleg Nenashev <[email protected]>
wrote:

>
>
> 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,
>>
>> *Surya*lakshminarayana Dhulipudi,
>> Mobile:+91 9538967888
>>
>> 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
>>
>> On Wed, Aug 22, 2018 at 6:02 PM Suryalakshminarayana Dhulipudi <
>> [email protected]> wrote:
>>
>>> Hi Team,
>>>
>>> As per the suggestion here
>>> https://stackoverflow.com/questions/22754610/can-two-different-jenkins-builders-exist-in-the-same-hpi-and-share-the-same-glob?noredirect=1&lq=1
>>>  we
>>> used global configuration API for our jenkins plugin but we are hitting a
>>> issue which is explained here
>>> https://stackoverflow.com/questions/51966770/globalconfiguration-is-not-shared-between-two-build-steps-in-jenkins-plugin
>>>
>>> Can anyone please help us on this request.
>>>
>>>
>>> Regards,
>>>
>>> *Surya*lakshminarayana Dhulipudi,
>>> Mobile:+91 9538967888
>>>
>>>
>>> --
> 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/21e6a381-d3b1-41db-9bb0-ee7cb9312229%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/21e6a381-d3b1-41db-9bb0-ee7cb9312229%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAB_QdWcma3xODCXmttz9Mv6drWxOuRLnDvqWCfAFhC-W6ONOQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to