jenkinsci / configuration-as-code-plugin

Jenkins Configuration as Code Plugin
https://plugins.jenkins.io/configuration-as-code
MIT License
2.69k stars 718 forks source link

Hosting JCasC in a private repository or cloud storage #2266

Open bgpanw opened 1 year ago

bgpanw commented 1 year ago

What feature do you want to see added?

It would be ideal to host the code in a private repository (GitHub, GitLab, BitBucket, Google Source Repositories, etc) or cloud storage (Google Storage Bucket, AWS S3) but we have no method of providing credentials when using a URL method.

Furthermore, if this could be extended to include multiple files in your repo in the same manner that we can divide the configuration if there are multiple files in a local volume's directory.

Upstream changes

No response

Mo0rBy commented 8 months ago

+1, this please! We have everything in private repositories. I've tried used the internal kubernetes cluster URL (gitsvc.cluster.local) to our self-hosted git solution, but I don't think theres a way to define the credentials to use for the SSH key. In my particular case, I think this is all I would need.

Mo0rBy commented 8 months ago

Just found this issue (#879) which has been listed as a dupe of #273. So I think this might be a dupe of #273 as well?