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/CADVhPTqK9L99J8%3DWwiqePw30DX99D2EaNpqJr5D0MOcv7Bd73g%40mail.gmail.com.
