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-25588] - Fixed the "Test Connection" validation handler #18

Merged
merged 3 commits into from Jan 6, 2015

Conversation

oleg-nenashev
Copy link
Member

Fixes the error with vSphere validation handlers (caused by #16 )

Signed-off-by: Oleg Nenashev o.v.nenashev@gmail.com

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
@jswager
Copy link
Member

jswager commented Jan 5, 2015

@oleg-nenashev This resolves the "Test Connection" button from the main Jenkins config screen. But this doesn't solve the "no protocol: null/sdk" error when a slave is being started.

Quick look at the debugger: in vSphereCloud.java, in the vSphereInstance() method - both vsHost and username are null - which results in an invalid URL, which might explain this problem.

I forgot to remove vcHost usage in previous commits.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
@oleg-nenashev
Copy link
Member Author

@jswager
Yes, my bad. I have not forced null values in readResolve() and I missed such issues during the testing of the initial PR. In new commits I removed all usages of all variables. Hopefully, the change works now.

@jswager
Copy link
Member

jswager commented Jan 6, 2015

@oleg-nenashev This last round of changes does seem to fix everything. The test buttons are working from the main config, slave config, and build steps. A slave can be powered on now.

Thanks for your quick responses and effort on getting these issues resolved so quickly.

jswager added a commit that referenced this pull request Jan 6, 2015
[JENKINS-25588] - Fixed the "Test Connection" validation handler
@jswager jswager merged commit db8104d into jenkinsci:master Jan 6, 2015
@oleg-nenashev
Copy link
Member Author

@jswager
Thank you too for the testing and reviews.
It was my error at the end of the day, so I apologize for inconveniences it cased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants