Struct jenkins_api::JenkinsBuilder[][src]

pub struct JenkinsBuilder { /* fields omitted */ }

Builder for Jenkins client

    let jenkins = JenkinsBuilder::new("http://localhost:8080")
        .with_user("user", Some("password"))
        .build()
        .unwrap();

Methods

impl JenkinsBuilder
[src]

Create a new builder with Jenkins url

Build the Jenkins client

Specify the user to use for authorizing queries

Disable CSRF in crumbs used for post queries

Change the default depth parameters of requests made to Jenkins. It controls the amount of data in responses

Trait Implementations

impl Debug for JenkinsBuilder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations