Skip to content

Conversation

@hyderraza18
Copy link
Contributor

This PR adds a new demo showing how to configure the docker-plugin with the SSH connector using Jenkins Configuration as Code (JCasC).
The existing documentation does not include an SSH example for docker-based agents, and the structure of this connector is not obvious from plugin usage, so this demo is added to help users configure it correctly.

The new files include:

demos/docker-plugin/docker-plugin-ssh.yaml : a minimal working SSH connector example

demos/docker-plugin/README.md

This example uses the proper sshConnector field and a Jenkins credential ID for the SSH private key, which resolves the issue reported in #2739.

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

@hyderraza18 hyderraza18 requested a review from a team as a code owner November 24, 2025 13:00
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hyderraza18
Copy link
Contributor Author

@timja Thanks the feedback; will try to it

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.

2 participants