![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Unassigned |
|
Components:
|
core |
|
Created:
|
09/Apr/14 8:38 AM
|
|
Description:
|
The computer channel can't be used in ComputerListeners because it's closed before the call to listeners is done.
It causes a problem - you can't run any command in slave computer as part of "onOffline" method because the channel closed before the method called.
e.g (selenium-plugin)
VirtualChannel mainChannel = computer.getChannel();
if (mainChannel != null) {
try {
mainChannel.call(new StopSeleniumServer(name));
} catch (Exception e) {
e.printStackTrace();
try {
mainChannel.call(new RunningRemoteSetterCallable(name, "Error"));
} catch (Exception e1) {
e1.printStackTrace();
}
}
}
|
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Ron Korland
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.