Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-52204] - Skip port availability check when -tunnel option is set #279

Merged
merged 2 commits into from
Jun 29, 2018

Conversation

oleg-nenashev
Copy link
Member

This is a fix for the JENKINS-52204 regression in Remoting 3.22 and Jenkins 2.129. When -tunnel option is set, Jenkins may be connecting to different host. So it does not make much sense to verify port availability in that case.

The issue comes from #275 . Although I believe that the current -tunnel behavior is rather obsolete and should be reworked/removed (JENKINS-52246), I propose to just disable the check and restore compatibility for now

CC @denami @jeffret-b @dwnusbaum

Copy link
Member

@dwnusbaum dwnusbaum left a comment

Choose a reason for hiding this comment

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

Looks good to me. It would be great to add a connection test using the tunnel option to have a chance of catching regressions like this, although I don't have a sense of how much work it would be to add such a test. Maybe it would require the Jenkins integration testing stuff you were working on earlier?

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