-
Notifications
You must be signed in to change notification settings - Fork 36
Using JenkinsProgressiveTextReader
Joshua Miller edited this page Mar 3, 2018
·
1 revision
A utility class created to simplify the reading of Console Output from a running Jenkins Build.
var client = new JenkinsClient() {...};
var textReader = new ProgressiveTextReader(client, '<Job Name>', BuildNumber.LastSuccessful);
textReader.TextChanged += (newText) => Console.Write(newText);
while (!textReader.IsComplete) textReader.Update();
Getting Started
- Creating the Client
Examples
- Starting a Job
- Retrieving Artifacts
- Reading Console Output
Utilities
- JenkinsJobRunner
- JenkinsProgressiveTextReader