-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Port binding is not respected for SSH port (#1043)
* Port Bindings is not respected for SSH port 1- Dashboard > Manage Jenkins > Configure Clouds 2- Add a new Cloud 3- Connect method SSH 4- Container settings 5- Port Bindings 0.0.0.0:20000-20100:22 Expected Results All docker-proxy process should use a port between 20000 and 20100 Tested for a year now with this fix and docker-proxy always gets a port in the specified range. * Update DockerComputerSSHConnector.java * Update DockerComputerSSHConnectorTest.java * Update DockerComputerSSHConnectorTest.java --------- Co-authored-by: Kris Stern <[email protected]>
- Loading branch information
1 parent
596a3c1
commit 16e30a6
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters