Jenkins Remoting - Documentation is not helpful

29 views
Skip to first unread message

Kristian

unread,
May 21, 2017, 3:31:53 PM5/21/17
to jenkins...@googlegroups.com, jenkin...@googlegroups.com
Hi,

a question: I've just read the documentation in Jenkins Remoting about
work dir (https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md)
and logging (https://github.com/jenkinsci/remoting/blob/master/docs/logging.md).
In my opinion, this documentation is lacking.

For example: Where should I put these parameters like -workDir or
-loggingConfig? What to do after adding these parameter? What can I
expect? An example or several examples would be really helpful.

For example: I've just added the parameter
"-Djava.util.logging.config.file="D:\\log.txt"" to a Windows Slave in
Jenkins / JVM Options for that slave. But after restart the slave (so,
closing the JNLP and starting again) and after starting a new job, I
did not see any log.txt in D:\

Oleg Nenashev

unread,
May 21, 2017, 5:55:21 PM5/21/17
to Jenkins Developers, jenkins...@googlegroups.com
Hi Kristian,

Jenkins has not been updated to Remoting 3.8+ yet.
So the options are not available there yet. Once I integrate all the things, there will be examples of agent calls in Jenkins WebUI.

I will see if I can improve the documentation a bit. If you have any specific proposals exceptiong commandline options, please do not hesitate to create issues in JIRA or to respond to this thread. Pull requests will be always appreciated.


"-Djava.util.logging.config.
file="D:\\log.txt"" to a Windows Slave in
Jenkins / JVM Options for that slave. But after restart the slave (so,
closing the JNLP and starting again) and after starting a new job, I
did not see any log.txt in D:\

Here you pass the log destination to the configuration file. It is not how the configuration file work. The current documentation provides two links with examples: "See details about the property file format in Oracle documentation and this guide. Note that ConsoleHandler won't be enabled by default if this option is specified.", so I am not sure what was the problem there

Best regards,
Oleg Nenashev

воскресенье, 21 мая 2017 г., 21:31:51 UTC+2 пользователь Kristian X написал:

Oleg Nenashev

unread,
May 22, 2017, 5:31:50 AM5/22/17
to Jenkins Developers, jenkins...@googlegroups.com
Created https://github.com/jenkinsci/remoting/pull/164/

воскресенье, 21 мая 2017 г., 23:55:08 UTC+2 пользователь Oleg Nenashev написал:
Reply all
Reply to author
Forward
0 new messages