-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[JENKINS-27035] Gathering command read/write events #3071
[JENKINS-27035] Gathering command read/write events #3071
Conversation
pom.xml
Outdated
@@ -170,7 +170,7 @@ THE SOFTWARE. | |||
<dependency> | |||
<groupId>org.jenkins-ci.main</groupId> | |||
<artifactId>remoting</artifactId> | |||
<version>3.15-20171128.150341-4</version> <!-- TODO https://github.com/jenkinsci/remoting/pull/204 --> | |||
<version>3.15-SNAPSHOT</version> <!-- TODO https://github.com/jenkinsci/remoting/pull/204 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See cab2663 commit message.
on hold till the new Remoting version gets released |
// following Ant <mkdir> task to avoid possible race condition. | ||
Thread.sleep(10); | ||
// following Ant <mkdir> task to avoid possible race condition. | ||
Thread.sleep(10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh oh, do we really have THAT in FilePath?
I feel to could be moved to an API class in Remoting. E.g. class LoggerChannelListener extends ChannelListener {
private final Logger LOGGER;
public LoggingChannelListener() {
...
}
... // all methods
} Why? It may be useful to have the same logger for Remoting CLI, Maven Plugin and other custom implementations with Channel. WDYT @jglick ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐝 in general, but I feel the Logging listener should be an API class in Remoting itself
Pushing down the logging listener is a reasonable idea, though it is a little tricky since then core would either need to attach two listeners (slightly more runtime overhead) or subclass it (somewhat poor style). |
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
I hope to release the Remoting side next week |
Needs a few test fixes to keep up with jenkinsci/remoting#247. |
It will need an integration with the master branch once #3276 is released |
Crap, I forgot to merge it. #FOSDEM |
JENKINS-27035
Downstream of jenkinsci/remoting#204.
Command
events@reviewbybees