pub struct JobBuilder<'a, 'b, 'c, 'd> { /* private fields */ }
Expand description

Helper to build a job

Implementations§

Trigger the build

Add a delay before the job will be built

Trigger the build remotely with a token and a cause

Errors

This methods will return an error if building remotely a build with parameters

Build with parameters

Supported parameters type: Boolean, Choice, Multi-line string, Password, Run, String

Unsupported parameters type: File, Credentials

Errors

If used on a Job without parameters, sending this build will return an Error::IllegalState

If used with invalid parameters type / value, sending this build will return an Error::IllegalArgument

This methods will return an error if serializing parameters fails, or if passing parameters to a remote build.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.