Creating the Client
Joshua Miller edited this page Mar 11, 2018
·
1 revision
Before performing any interactions with Jenkins, a `JenkinsClient` instance must be defined. This will be the base of all Jenkins operations. If your Jenkins node requires authentication, the credentials may be provided as well.
// Local Jenkins instance using Guest credentials
var client = new JenkinsClient {
BaseUrl = "http://localhost:8080/",
UserName = "Guest",
ApiToken = "0123456789ABCDEF",
};
Getting Started
- Creating the Client
Examples
- Starting a Job
- Retrieving Artifacts
- Reading Console Output
Utilities
- JenkinsJobRunner
- JenkinsProgressiveTextReader