Jenkins : Log Command

Plugin Information

View Log Command on the plugin site for more information.

Adds a command for the CLI which shows a build's console log. If instant-messaging-plugin is installed, it also provides a command for it (Jabber, IRC, ...).

CI Job

https://jenkins.ci.cloudbees.com/job/plugins/job/log-command-plugin/

Usage

CLI

show-log <job> [-b N] [-n N]
<job>: The name of the job.
-b N : N is the number of the build. Default value is the last build.
-n N : N is the number of log lines to show. Default values is 10.

Instant Messaging

Same as CLI, but it also provides an alias for the command: sl.

Changelog

Version 1.0.1

* Better handling of errors.
* Fixed typos in Wiki url.
* Better plugin's name should appear now in the plugin manager.

Version 1.0.0

* Initial Release