-
Notifications
You must be signed in to change notification settings - Fork 37
Reading Console Output
There are multiple options for retrieving Console Output from a Jenkins Build.
-
JenkinsClient.Builds.GetConsoleOutput()
should be used when retrieving the final output from a completed Build. -
JenkinsClient.Builds.GetProgressiveText()
should be used when you want to read the unformatted text output from the Job while it is running. This method accepts astart
argument to allow continuous reading. -
JenkinsClient.Builds.GetProgressiveHtml()
should be used when you want to read the HTML-formatted output from the Job while it is running. This method accepts astart
argument to allow continuous reading.
Two utility classes have also been created to simplify the process of reading progressive output, JenkinsProgressiveTextReader and JenkinsProgressiveHtmlReader
.
Getting Started
- Creating the Client
Examples
- Starting a Job
- Retrieving Artifacts
- Reading Console Output
Utilities
- JenkinsJobRunner
- JenkinsProgressiveTextReader