My scenario is that i have a JSON file located in a remote repo.
In that file there is a configuration I need for the plugin.

I want to be able to pull that file and read it in my plugin.
The reason for it being in the remote repo as it serves also other 
applications and not just my plugin.

Is it doable?

Thanks,
Tzach

On Wednesday, 15 November 2023 at 18:01:39 UTC+2 [email protected] wrote:

> Have you looked at the source for the Github Branch Source plugin? I 
> imagine it has examples of how to do many things.
>
> From your description though, it sounds like you might be able to store 
> your configuration in Jenkins itself? Maybe as a secret? That said, I have 
> to admit I don't 100% understand your scenario.
>
> Best
> Jeff
>
> On Wed, Nov 15, 2023 at 7:14 AM [email protected] <[email protected]> 
> wrote:
>
>> Hi,
>>
>> I have a private that needs configuration.
>> That configuration is stored in a remote git repository.
>> I would like to harness git plugin and use it in my plugin.
>> Is there an example of how to do it?
>>
>> Thanks,
>> Tzach
>>
>> -- 
>> 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/33209811-581c-434c-836f-6461e509d636n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/33209811-581c-434c-836f-6461e509d636n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/6d1595d3-8c54-45b5-a3c2-910b5edd61aan%40googlegroups.com.

Reply via email to