Skip to content

Introduce extensible configuration fetcher SPI for JCasC#2865

Draft
somiljain2006 wants to merge 2 commits into
jenkinsci:masterfrom
somiljain2006:Private-repo
Draft

Introduce extensible configuration fetcher SPI for JCasC#2865
somiljain2006 wants to merge 2 commits into
jenkinsci:masterfrom
somiljain2006:Private-repo

Conversation

@somiljain2006

@somiljain2006 somiljain2006 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #2266

Introduce a pluggable configuration fetcher API that allows Configuration as Code to load YAML from extensible sources while preserving existing behavior. Add default fetchers for local file system paths and HTTP/HTTPS URLs, along with a credential resolution abstraction supporting Jenkins credentials and bootstrap environment variables. Refactor configuration loading to use the new fetcher pipeline with managed resource lifecycles, and add unit and integration tests covering fetchers, credential providers, resource cleanup, and end-to-end configuration loading.

Your checklist for this pull request

🚨 Please review the guidelines for contributing to this repository.

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side) and not your master branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or in Jenkins JIRA
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Did you provide a test-case? That demonstrates the feature works or fixes the issue.

@somiljain2006 somiljain2006 requested a review from a team as a code owner July 7, 2026 14:01
@somiljain2006 somiljain2006 marked this pull request as draft July 7, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hosting JCasC in a private repository or cloud storage

1 participant